Skip to content

Commit

Permalink
mod build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cpoli committed Aug 1, 2024
1 parent a078178 commit f648389
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,28 +91,28 @@ jobs:
python -m pip install certifi cibuildwheel
python -m pip install -r requirements.txt
# - name: Build MacOS wheel
# if: matrix.os == 'macos-latest'
# env:
# CIBW_BUILD: "cp37-macosx_x86_64 cp38-macosx_x86_64 cp311-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64 cp312-macosx_x86_64"
# CIBW_BEFORE_ALL: brew install libomp
# CIBW_BEFORE_BUILD_MACOS: |
# python -m pip install -U pip
# python -m pip install certifi cibuildwheel
# python -m pip install -r requirements.txt

# run: python -m cibuildwheel --platform macos --output-dir dist

- name: Build linux wheels
if: matrix.os == 'ubuntu-latest'
- name: Build MacOS wheel
# if: matrix.os == 'macos-latest'
env:
CIBW_BUILD: "cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64"
CIBW_BEFORE_BUILD_LINUX: |
CIBW_BUILD: "cp37-macosx_x86_64 cp38-macosx_x86_64 cp311-macosx_x86_64 cp39-macosx_x86_64 cp310-macosx_x86_64 cp311-macosx_x86_64 cp312-macosx_x86_64"
# CIBW_BEFORE_ALL: brew install libomp
CIBW_BEFORE_BUILD_MACOS: |
python -m pip install -U pip
python -m pip install certifi cibuildwheel
python -m pip install -r requirements.txt
run: python -m cibuildwheel --platform linux --output-dir dist
run: python -m cibuildwheel --platform macos --output-dir dist

# - name: Build linux wheels
# if: matrix.os == 'ubuntu-latest'
# env:
# CIBW_BUILD: "cp37-manylinux_x86_64 cp38-manylinux_x86_64 cp39-manylinux_x86_64 cp310-manylinux_x86_64 cp311-manylinux_x86_64"
# CIBW_BEFORE_BUILD_LINUX: |
# python -m pip install -U pip
# python -m pip install certifi cibuildwheel
# python -m pip install -r requirements.txt

# run: python -m cibuildwheel --platform linux --output-dir dist

- uses: actions/upload-artifact@v2
with:
Expand Down

0 comments on commit f648389

Please sign in to comment.