From a891d67ce5a9cd33e60d39ce0153c59249ef6177 Mon Sep 17 00:00:00 2001 From: batman Date: Tue, 10 Mar 2026 15:37:31 -0700 Subject: [PATCH] feat: add Linux aarch64 wheel builds via ubuntu-24.04-arm runner Adds native Linux ARM64 (aarch64) wheel builds using GitHub's ubuntu-24.04-arm runner, mirroring how macOS ARM was added in #74. - Add ubuntu-24.04-arm to the platform matrix in push.yml and release.yml - Remove explicit archs = ["x86_64"] restriction so cibuildwheel auto-detects the native arch on each runner (x86_64 on ubuntu-latest, aarch64 on ubuntu-24.04-arm) - Bump version to 0.7.0.11 All 15 tests pass on linux/aarch64 natively. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/push.yml | 2 +- .github/workflows/release.yml | 2 +- pyproject.toml | 1 - src/fcl/version.py | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 44c076f..a60fa69 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -24,7 +24,7 @@ jobs: strategy: fail-fast: false matrix: - platform: [ubuntu-latest, macos-latest, windows-latest, macos-15-intel] + platform: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest, macos-15-intel] steps: - uses: actions/checkout@v4 - name: Build wheels diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2fd3095..854583c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: runs-on: ${{matrix.platform}} strategy: matrix: - platform: [ubuntu-latest, macos-latest, windows-latest, macos-15-intel] + platform: [ubuntu-latest, ubuntu-24.04-arm, macos-latest, windows-latest, macos-15-intel] steps: - uses: actions/checkout@v4 - name: Build wheels diff --git a/pyproject.toml b/pyproject.toml index 4991c49..30750c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,7 +103,6 @@ test-command = "pytest {package}/tests" [tool.cibuildwheel.linux] before-all = "bash build_dependencies/install_linux.sh" repair-wheel-command = "LD_LIBRARY_PATH=/usr/local/lib64 auditwheel repair -w {dest_dir} {wheel}" -archs = ["x86_64"] [tool.cibuildwheel.macos] before-all = "bash build_dependencies/install_macos.sh" diff --git a/src/fcl/version.py b/src/fcl/version.py index 40c4f58..11a4304 100644 --- a/src/fcl/version.py +++ b/src/fcl/version.py @@ -1 +1 @@ -__version__ = "0.7.0.10" +__version__ = "0.7.0.11"