Skip to content

Commit

Permalink
Add M1 builder, update cibuildwheel (#53)
Browse files Browse the repository at this point in the history
* Add M1 builder, update cibuildwheel

* Oops

* Make pip shut up

* Try if we still have to silence warnings

* We do, but let's be more specific

* Nope, wasn't enough
  • Loading branch information
hynek authored Jan 31, 2024
1 parent 45c5386 commit 4f12ef1
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ name: Wheels
on:
push:
tags:
- '*'
- "*"
workflow_dispatch:
schedule:
- cron: "30 4 15 * *"

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
PIP_NO_PYTHON_VERSION_WARNING: 1

permissions: {}

jobs:
wheels:
Expand All @@ -17,7 +22,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-2019, macOS-11]
os: [ubuntu-20.04, windows-2019, macOS-11, macOS-14]
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -31,7 +36,7 @@ jobs:
with:
platforms: arm64

- uses: pypa/[email protected].2
- uses: pypa/[email protected].5
env:
# Only build CPython 3.7, because we have portable abi3 wheels.
# Windows arm64 is only available on 3.9 and later, Apple Silicon on
Expand All @@ -40,7 +45,7 @@ jobs:
CIBW_ARCHS_LINUX: "auto aarch64"
CIBW_ARCHS_MACOS: "auto universal2"
CIBW_TEST_COMMAND: python -c "from _argon2_cffi_bindings import ffi, lib; print(lib.ARGON2_VERSION_NUMBER)"
# Silence warning we can't do anything about.
# https://github.com/pypa/cibuildwheel/pull/1169
CIBW_TEST_SKIP: "*-macosx_universal2:arm64"

- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 4f12ef1

Please sign in to comment.