Skip to content

Commit

Permalink
Revise workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
TLCFEM committed Nov 26, 2023
1 parent 287e102 commit 36289c2
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,25 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
run: |
git submodule update --init --recursive
cd eigen && git apply ../patch_size.patch && cd ..
- name: Dependency
if: matrix.os == 'windows-latest'
uses: msys2/setup-msys2@v2
with:
msystem: mingw64
update: true
install: git mingw-w64-x86_64-cmake mingw-w64-x86_64-tbb mingw-w64-x86_64-gcc mingw-w64-x86_64-ninja mingw-w64-x86_64-gmp mingw-w64-x86_64-mpfr mingw-w64-x86_64-7zip
- name: Setup
run: |
git submodule update --init --recursive
cd eigen && git apply ../patch_size.patch && cd ..
- name: Install cibuilldwheel
if: matrix.os == 'windows-latest'
shell: msys2 {0}
run:
python -m pip install cibuildwheel==2.16.2
python -m cibuildwheel --output-dir wheelhouse
- name: CI Build Wheel
if: matrix.os != 'windows-latest'
uses: pypa/[email protected]
- name: Upload
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 36289c2

Please sign in to comment.