Skip to content

add CPM_USE_LOCAL_PACKAGES for sandboxed nix builds #8

add CPM_USE_LOCAL_PACKAGES for sandboxed nix builds

add CPM_USE_LOCAL_PACKAGES for sandboxed nix builds #8

Workflow file for this run

name: build-linux
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build-python-module:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- name: Build wheel in venv
shell: bash -l {0}
run: |
python -m venv vstat-env
source vstat-env/bin/activate
pip install ninja nanobind scikit-build
export CC=gcc
export CXX=g++
python setup.py bdist_wheel
deactivate