Skip to content

Commit a1aab4f

Browse files
update wheel
1 parent 314ad62 commit a1aab4f

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/build-test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ jobs:
7575
submodules: recursive
7676
- name: Build wheels
7777
uses: pypa/cibuildwheel@v2.22.0
78+
with:
79+
package-dir: ./condreg-py-interface
80+
output-dir: wheelhouse
7881
env:
7982
# Configure cibuildwheel
8083
CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-*
@@ -89,8 +92,10 @@ jobs:
8992
C:\vcpkg\vcpkg install eigen3:x64-windows &&
9093
set EIGEN_INCLUDE_DIR=C:\vcpkg\installed\x64-windows\include\eigen3
9194
92-
# Build the C++ library first
93-
CIBW_BEFORE_BUILD: python build_cpp.py
95+
# Build the C++ library first - run from the package directory
96+
CIBW_BEFORE_BUILD: |
97+
cd {package} &&
98+
python build_cpp.py
9499
- uses: actions/upload-artifact@v4
95100
with:
96101
name: wheels-${{ matrix.os }}

0 commit comments

Comments
 (0)