Skip to content

Commit 4fefe83

Browse files
committed
try ARM runner
1 parent 67c96a9 commit 4fefe83

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/push.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@ jobs:
2424
strategy:
2525
fail-fast: false
2626
matrix:
27-
platform: [ubuntu-latest, macos-latest, windows-latest]
27+
platform: [ubuntu-latest, macos-latest, windows-latest, macos-14]
2828
steps:
2929
- uses: actions/checkout@v3
3030
- name: Build wheels
31-
uses: pypa/cibuildwheel@v2.15.0
32-
env:
33-
CIBW_ARCHS_MACOS: 'x86_64 arm64'
31+
uses: pypa/cibuildwheel@v2.16.5
3432
- uses: actions/upload-artifact@v3
3533
with:
3634
path: ./wheelhouse/*.whl

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ jobs:
4444
needs: create_release
4545
strategy:
4646
matrix:
47-
platform: [ubuntu-latest, macos-latest, windows-latest]
47+
platform: [ubuntu-latest, macos-latest, windows-latest, macos-14]
4848
steps:
4949
- uses: actions/checkout@v3
5050
- name: Build wheels
51-
uses: pypa/cibuildwheel@v2.15.0
51+
uses: pypa/cibuildwheel@v2.16.5
5252
env:
5353
CIBW_ARCHS_MACOS: 'x86_64 arm64'
5454
- uses: actions/upload-artifact@v3

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ version = {attr = "fcl.__version__"}
7070

7171
[tool.ruff]
7272
target-version = "py37"
73+
line-length = 90
74+
75+
[tool.ruff.lint]
7376
# See https://github.com/charliermarsh/ruff#rules for error code definitions.
7477
select = [
7578
"B", # bugbear
@@ -91,7 +94,6 @@ ignore = [
9194
"B904", # raise ... from err
9295
"B905", # zip() without an explicit strict= parameter
9396
]
94-
line-length = 90
9597

9698

9799
[tool.cibuildwheel]
@@ -106,7 +108,6 @@ archs = ["x86_64"]
106108
[tool.cibuildwheel.macos]
107109
before-all = "bash build_dependencies/install_macos.sh"
108110
environment = { CPATH = "$(brew --prefix)/include:$(brew --prefix)/include/eigen3", LD_LIBRARY_PATH = "$(brew --prefix)/lib" }
109-
archs = ["x86_64", "universal2"]
110111

111112
[tool.cibuildwheel.windows]
112113
before-all = "powershell build_dependencies\\install_windows.ps1"

0 commit comments

Comments
 (0)