Skip to content

Commit

Permalink
Build wheels for Apple arm64 architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinung-r committed Oct 3, 2023
1 parent de1db4e commit 397d8f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
analyzers: "cppcheck"
scan: "scan-build --status-bugs"
mkdoc: "-DBUILD_DOC=ON -DSPHINX_ARGS=-WT"
- os: macos-13-xlarge
privledges: "sudo"
arch: arm64

steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/wheels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
arch: i686
- os: macOS-10.15
arch: x86_64
- os: macos-13-xlarge
arch: arm64

steps:
- uses: actions/checkout@v2
Expand All @@ -40,11 +42,12 @@ jobs:
run: python -m pip install cibuildwheel

- name: Build wheels
shell: bash
env:
CIBW_ENVIRONMENT_WINDOWS: >
CMAKE_GENERATOR="${{ matrix.cmake_generator }}"
CMAKE_GENERATOR_PLATFORM="${{ matrix.cmake_generator_platform }}"
CIBW_SKIP: pp* *-musllinux_*
CIBW_SKIP: pp* *-musllinux_* cp312-*
CIBW_ARCHS: ${{ matrix.arch }}
run: |
python -m cibuildwheel --output-dir wheelhouse python/
Expand Down

0 comments on commit 397d8f7

Please sign in to comment.