Skip to content

Commit

Permalink
Build nanobind bindings in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Max Lantas <[email protected]>
  • Loading branch information
mnxn committed Sep 27, 2024
1 parent ebffce5 commit e4f7ec9
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,36 @@ jobs:
pybind11: 'ON'
python-desc: python3.11
vfx-cy: 2024

# -------------------------------------------------------------------
# nanobind and python together
# -------------------------------------------------------------------
- build: 10
build-type: Release
build-shared: 'ON'
cxx-standard: 17
cxx-compiler: g++
cc-compiler: gcc
compiler-desc: gcc11.2.1
python: 'ON'
nanobind: 'ON'
python-desc: python3.11
vfx-cy: 2024

# -------------------------------------------------------------------
# nanobind w/o python
# -------------------------------------------------------------------
- build: 11
build-type: Release
build-shared: 'ON'
cxx-standard: 17
cxx-compiler: g++
cc-compiler: gcc
compiler-desc: gcc11.2.1
python: 'OFF'
nanobind: 'ON'
python-desc: python3.11
vfx-cy: 2024
env:
CXX: ${{ matrix.cxx-compiler }}
CC: ${{ matrix.cc-compiler }}
Expand All @@ -241,6 +271,7 @@ jobs:
-DBUILD_SHARED_LIBS=${{ matrix.build-shared }} \
-DPYTHON=${{ matrix.python }} \
-DPYBIND11=${{ matrix.pybind11 }} \
-DNANOBIND=${{ matrix.nanobind }} \
-DUSE_PYTHON2=${{ matrix.use-python2 }}
working-directory: _build
- name: Build
Expand Down

0 comments on commit e4f7ec9

Please sign in to comment.