Skip to content

Commit

Permalink
ci: simplify and fix repair cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
janden committed Jul 12, 2024
1 parent 791d568 commit 9afa9a7
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions .github/workflows/python_skbuild_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,31 +81,14 @@ jobs:
C:\msys64\usr\bin\bash.exe -lc "pacman -Sy --noconfirm mingw-w64-x86_64-gcc mingw-w64-x86_64-fftw mingw-w64-x86_64-pkgconf"
echo "c:\msys64\mingw64\bin;" >> $env:GITHUB_PATH
- name: pkg-config path
run: echo $PKG_CONFIG_PATH

- name: Which pkg-config
run: which pkg-config

- name: Setup tmate session
uses: mxschmitt/action-tmate@v3

- name: Run pip wheel
run: pip wheel --no-deps '--config-settings=cmake.args=-G Unix Makefiles' -v .
env:
PKG_CONFIG_PATH: 'c:\msys64\mingw64\lib\pkgconfig;c:\msys64\mingw64\share\pkgconfig'

- name: Install cibuildwheel
run: pip install cibuildwheel

- name: Build wheels
run: cibuildwheel
uses: pypa/cibuildwheel@v2.19.2
env:
CIBW_BUILD_VERBOSITY: 1
CIBW_ARCHS: AMD64
CIBW_CONFIG_SETTINGS: "cmake.args='-G Unix Makefiles'"
CIBW_BEFORE_BUILD: pip install delvewheel
CIBW_REPAIR_COMMAND: delvewheel show -v --analyze-existing -w {dest_dir} {wheel}
CIBW_REPAIR_WHEEL_COMMAND: delvewheel show -v --analyze-existing -w {dest_dir} {wheel}
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest {project}/python/finufft/test
# PyPy 3.10 triggers access violation under Windows, for some reason.
Expand Down

0 comments on commit 9afa9a7

Please sign in to comment.