From 335513205d3542f7088e59a32305361f6fdab61b Mon Sep 17 00:00:00 2001 From: Edouard CHIN Date: Fri, 3 Apr 2026 15:31:17 +0200 Subject: [PATCH] Precompile binary for linux aarch64: - cibuildgem supports building binary by any runners supported on GitHub. I originally didn't include this platform as I wasnt sure whether users would want a precompiled binary for linux aarch64. A user asked for it so let's add it to the matrix https://github.com/Shopify/rubydex/issues/714 I tested and it compiles correctly https://github.com/Shopify/rubydex/actions/runs/23947658226/job/69847719701 Though it compiles correctly since the latest release of ruby-rbs 0.3.0 thanks to thix fix https://github.com/ruby/rbs/pull/2914 --- .github/workflows/cibuildgem.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cibuildgem.yaml b/.github/workflows/cibuildgem.yaml index 08794db53..52ce32eed 100644 --- a/.github/workflows/cibuildgem.yaml +++ b/.github/workflows/cibuildgem.yaml @@ -14,7 +14,7 @@ jobs: name: "Cross compile the gem on different ruby versions" strategy: matrix: - os: ["macos-latest", "ubuntu-22.04"] + os: ["macos-latest", "ubuntu-22.04", "ubuntu-22.04-arm"] runs-on: "${{ matrix.os }}" env: RELEASE: "true" @@ -38,7 +38,7 @@ jobs: needs: compile strategy: matrix: - os: ["macos-latest", "ubuntu-22.04"] + os: ["macos-latest", "ubuntu-22.04", "ubuntu-22.04-arm"] rubies: ["3.2", "3.3", "3.4", "4.0"] type: ["cross", "native"] runs-on: "${{ matrix.os }}" @@ -60,7 +60,7 @@ jobs: needs: test strategy: matrix: - os: ["macos-latest", "ubuntu-22.04"] + os: ["macos-latest", "ubuntu-22.04", "ubuntu-22.04-arm"] runs-on: "${{ matrix.os }}" steps: - name: "Setup Ruby"