From 72e4b5e637626a63ee6001982223cec395dd2db4 Mon Sep 17 00:00:00 2001 From: Ronald Tse Date: Fri, 20 Feb 2026 22:30:39 +0800 Subject: [PATCH] fix: build ARM64 Linux gems on ARM hardware instead of cross-compiling --- .github/platforms.json | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/platforms.json b/.github/platforms.json index de87059..b90caee 100644 --- a/.github/platforms.json +++ b/.github/platforms.json @@ -83,31 +83,28 @@ "linux_aarch64": [ { "platform": "aarch64-linux", - "os": "ubuntu-22.04", + "os": "ubuntu-22.04-arm", "ruby": "3.4", "description": "Linux ARM64 (generic)", "build": true, "test": true, - "test_os": ["ubuntu-24.04-arm", "ubuntu-22.04-arm"], - "cross_compile": true + "test_os": ["ubuntu-24.04-arm", "ubuntu-22.04-arm"] }, { "platform": "aarch64-linux-gnu", - "os": "ubuntu-22.04", + "os": "ubuntu-22.04-arm", "ruby": "3.4", "description": "Linux ARM64 GNU libc", "build": true, - "test": false, - "cross_compile": true + "test": false }, { "platform": "aarch64-linux-musl", - "os": "ubuntu-latest", + "os": "ubuntu-22.04-arm", "ruby": "3.4", "description": "Linux ARM64 musl libc", "build": true, - "test": false, - "cross_compile": true + "test": false } ], "source": [