Skip to content

Commit

Permalink
🚧 Bump to cibuildwheel 2.16.5, fix macOS arm64 job
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed Feb 2, 2024
1 parent 57a6b65 commit f499522
Showing 1 changed file with 9 additions and 17 deletions.
26 changes: 9 additions & 17 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,7 @@ jobs:
path: dist

windows_wheels:
strategy:
fail-fast: false
name: Windows wheels
name: Windows wheels (amd64)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -68,7 +66,7 @@ jobs:
- name: Install MinGW compiler(s)
run: choco install mingw

- uses: pypa/cibuildwheel@v2.16.4
- uses: pypa/cibuildwheel@v2.16.5
with:
package-dir: .
output-dir: wheelhouse
Expand All @@ -86,8 +84,6 @@ jobs:
if-no-files-found: error

linux_amd64_wheels:
strategy:
fail-fast: false
name: Linux wheels (amd64)
runs-on: ubuntu-latest
steps:
Expand All @@ -100,7 +96,7 @@ jobs:
with:
python-version: 3.8

- uses: pypa/cibuildwheel@v2.16.4
- uses: pypa/cibuildwheel@v2.16.5
with:
package-dir: .
output-dir: wheelhouse
Expand All @@ -127,8 +123,6 @@ jobs:
if-no-files-found: error

linux_aarch64_wheels:
strategy:
fail-fast: false
name: Linux wheels (aarch64)
runs-on: ubuntu-latest
steps:
Expand All @@ -146,7 +140,7 @@ jobs:
with:
platforms: all

- uses: pypa/cibuildwheel@v2.16.4
- uses: pypa/cibuildwheel@v2.16.5
with:
package-dir: .
output-dir: wheelhouse
Expand Down Expand Up @@ -201,8 +195,6 @@ jobs:
if-no-files-found: error

macos_x86_64_wheels:
strategy:
fail-fast: false
name: macOS wheels (x86_64)
runs-on: macos-latest
steps:
Expand All @@ -222,7 +214,7 @@ jobs:
cache: false
check-latest: true

- uses: pypa/cibuildwheel@v2.16.4
- uses: pypa/cibuildwheel@v2.16.5
with:
package-dir: .
output-dir: wheelhouse
Expand All @@ -241,8 +233,6 @@ jobs:
if-no-files-found: error

macos_arm64_wheels:
strategy:
fail-fast: false
name: macOS wheels (arm64)
runs-on: macos-14
steps:
Expand All @@ -253,7 +243,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.12

- name: Set up Go toolchain
uses: actions/setup-go@v5
Expand All @@ -262,7 +252,7 @@ jobs:
cache: false
check-latest: true

- uses: pypa/cibuildwheel@v2.16.4
- uses: pypa/cibuildwheel@v2.16.5
with:
package-dir: .
output-dir: wheelhouse
Expand All @@ -272,6 +262,8 @@ jobs:
CIBW_TEST_COMMAND: >
hugo version
hugo env --logLevel debug
# Strange failure without this environment variable, check later if it's still needed
GOARCH: arm64

- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f499522

Please sign in to comment.