Skip to content

Commit

Permalink
Update deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jvsguerra committed May 8, 2024
1 parent 79b9109 commit 4b2bef0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
# macos-13 is an intel runner, macos-14 is apple silicon
os: [macos-latest, macos-13, ubuntu-latest, windows-latest]

steps:
- uses: actions/checkout@v4
Expand All @@ -47,7 +48,7 @@ jobs:
python-version: 3.x

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.16.5
run: python -m pip install cibuildwheel==2.17.0

- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,9 @@ build = ["cp39-*", "cp310-*", "cp311-*", "cp312-*"]
archs = ["native"]

[tool.cibuildwheel.macos]
environment = { CC = "/usr/local/bin/gcc-9", MACOS_DEVELOPMENT_TARGET = "10.9" }
before-build = ["brew install gcc@9"]
environment = { CC = "gcc-13" }
before-build = ["brew install swig"]
archs = ["native"]
repair-wheel-command = ""
test-skip = "*-macosx_arm64"

[tool.cibuildwheel.windows]
archs = ["native"]

0 comments on commit 4b2bef0

Please sign in to comment.