Skip to content

Commit

Permalink
ci: Try to wire macos archs correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
nvictus committed Apr 14, 2024
1 parent 69abdc0 commit 2c0c46d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-20.04, macos-12, macos-14]
# macos-13 is an intel runner, macos-14 is apple silicon
os: [ubuntu-latest, macos-13, macos-14]
steps:
- uses: actions/checkout@v4

Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ build-verbosity = 3
archs = ["x86_64", "aarch64"]
before-all = "yum install -y gcc make zlib-devel openssl-devel libpng-devel"


[tool.cibuildwheel.macos]
archs = ["x86_64", "arm64"] # "arm64" needs M1 runner on GitHub Actions
archs = ["auto"] # "arm64" needs M1 runner on GitHub Actions
before-all = """
brew install pkg-config openssl libpng # -> /usr/local (x86_64)
"""

0 comments on commit 2c0c46d

Please sign in to comment.