From 3b0c1d3ccbbefa3e49b9705f73d2844175c9f8f5 Mon Sep 17 00:00:00 2001 From: Johnny <22727137+johnnynunez@users.noreply.github.com> Date: Mon, 12 Oct 2026 23:27:02 +0200 Subject: [PATCH] CI: Build and test Windows ARM64 wheels Add the windows-11-arm runner to the macOS/Windows wheel matrix for CPython 3.11+ (the first versions with native Windows ARM64 builds) and run the test suite against each built wheel. --- .github/workflows/ci.yml | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1312dc9..833c241 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -132,7 +132,7 @@ jobs: fail-fast: false matrix: - os: [macos-latest, windows-latest] + os: [macos-latest, windows-latest, windows-11-arm] python-version: - "3.8" - "3.9" @@ -141,6 +141,14 @@ jobs: - "3.12" - "3.13" - "3.14-dev" + exclude: + # No native Windows ARM64 CPython builds before 3.11. + - os: windows-11-arm + python-version: "3.8" + - os: windows-11-arm + python-version: "3.9" + - os: windows-11-arm + python-version: "3.10" runs-on: ${{ matrix.os }} @@ -163,6 +171,16 @@ jobs: run: | python setup.py bdist_wheel + - name: Testing wheel + shell: bash + run: | + python -m pip install pytest + python -m pip install --no-index --find-links dist/ fastrlock + mkdir -p "$RUNNER_TEMP/fastrlock-tests" + cp fastrlock/tests/test_*.py "$RUNNER_TEMP/fastrlock-tests/" + cd "$RUNNER_TEMP/fastrlock-tests" + python -m pytest -v . + - name: Release uses: softprops/action-gh-release@v3 if: startsWith(github.ref, 'refs/tags/')