Skip to content

Commit

Permalink
BLD: Build for arm64 arch (exclude python 3.9)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yngve S. Kristiansen authored and mferrera committed Dec 13, 2023
1 parent 97b3f09 commit ee30b22
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions .github/workflows/ci-test-xtgeo-cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,23 @@ on:

jobs:
build_and_upload_with_cibw:
name: CIBW python ${{ matrix.cibw_python }} on ${{ matrix.os.runs_on }}
runs-on: ${{ matrix.os.runs_on }}
name: CIBW python ${{ matrix.cibw_python }} on ${{ matrix.os_arch[0] }}
runs-on: ${{ matrix.os_arch[0] }}
strategy:
fail-fast: false
matrix:
cibw_python: [cp38, cp39, cp310, cp311, cp312]
os:
- runs_on: ubuntu-latest
cibw_image: manylinux_x86_64
- runs_on: windows-latest
cibw_image: win_amd64
- runs_on: macos-latest
cibw_image: macosx_x86_64

os_arch:
- [ubuntu-latest, manylinux_x86_64]
- [windows-latest, win_amd64]
- [macos-latest, macosx_x86_64]
- [macos-latest-xlarge, macosx_arm64]
exclude:
- os_arch: [macos-latest-xlarge, macosx_arm64]
cibw_python: cp39
env:
CIBW_BUILD: ${{ matrix.cibw_python }}-${{ matrix.os.cibw_image }}
CIBW_BUILD: ${{ matrix.cibw_python }}-${{ matrix.os_arch[1] }}

steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit ee30b22

Please sign in to comment.