CI: macos build #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |