Skip to content

Commit

Permalink
next
Browse files Browse the repository at this point in the history
  • Loading branch information
N-Maas committed Dec 6, 2024
1 parent a948d77 commit 3c1efc2
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/python_build_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,22 +165,26 @@ jobs:
- name: Install Boost and TBB
shell: msys2 {0}
run: |
pacman --noconfirm -S mingw-w64-x86_64-boost mingw-w64-x86_64-tbb mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc mingw-w64-x86_64-python-pipx
pacman --noconfirm -S mingw-w64-x86_64-boost mingw-w64-x86_64-tbb mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc
# - name: Put MSYS2_MinGW64 on Path
# run: |
# echo "${{ runner.temp }}/msys64/mingw64" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append

- name: Build Python Wheels
shell: msys2 {0}
env:
CIBW_ARCHS_WINDOWS: x86 AMD64
CIBW_BUILD: cp3*-win*
run: |
# run cmake to create pyproject.toml from pyproject.toml.in
cmake -B configure_python --preset=minimal -DKAHYPAR_SETUP_PYTHON=On -DKAHYPAR_TBB_DIR=$TBB_INSTALL_DIR -DKAHYPAR_DISABLE_HWLOC=Off
rm -rf configure_python
pipx run cibuildwheel --output-dir wheels
- name: Build Python Wheels
env:
CIBW_ARCHS_WINDOWS: x86 AMD64
CIBW_BUILD: cp3*-win*
run: |
python3 -m pip install cibuildwheel>=2.22.0
python3 -m cibuildwheel --output-dir wheels
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 3c1efc2

Please sign in to comment.