Skip to content

Commit abe6062

Browse files
authoredFeb 3, 2025··
[ci] Add Ubuntu arm Github runner (#568)
1 parent 95122c5 commit abe6062

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed
 

‎.github/workflows/main.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ jobs:
3434
- os: windows-2025
3535
clang_version: 16.0.0
3636
enable_pic: true
37+
- os: ubuntu-24.04-arm
38+
clang_version: 16.0.0
39+
llvm_asset_suffix: aarch64-linux-gnu
40+
enable_pic: true
41+
3742
steps:
3843
- uses: actions/checkout@v4.1.7
3944
with:
@@ -44,7 +49,7 @@ jobs:
4449
set -ex
4550
sudo apt-get update
4651
sudo apt-get install -y libtinfo5
47-
if: startsWith(matrix.os, 'ubuntu-')
52+
if: startsWith(matrix.os, 'ubuntu-22')
4853

4954
- name: Install LLVM tools (Windows)
5055
shell: bash

‎test/Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ LIBC_TEST_URL ?= https://github.com/bytecodealliance/libc-test
3737
LIBC_TEST = $(DOWNDIR)/libc-test
3838
LIBRT_URL ?= https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-24/libclang_rt.builtins-wasm32-wasi-24.0.tar.gz
3939
LIBRT = $(DOWNDIR)/libclang_rt.builtins-wasm32.a
40-
WASMTIME_URL ?= https://github.com/bytecodealliance/wasmtime/releases/download/v26.0.1/wasmtime-v26.0.1-x86_64-linux.tar.xz
40+
ARCH := $(shell uname -m)
41+
WASMTIME_URL ?= https://github.com/bytecodealliance/wasmtime/releases/download/v26.0.1/wasmtime-v26.0.1-$(ARCH)-linux.tar.xz
4142
WASMTIME = $(abspath $(DOWNDIR)/$(shell basename $(WASMTIME_URL) .tar.xz)/wasmtime)
42-
WASM_TOOLS_URL ?= https://github.com/bytecodealliance/wasm-tools/releases/download/v1.220.0/wasm-tools-1.220.0-x86_64-linux.tar.gz
43+
WASM_TOOLS_URL ?= https://github.com/bytecodealliance/wasm-tools/releases/download/v1.220.0/wasm-tools-1.220.0-$(ARCH)-linux.tar.gz
4344
WASM_TOOLS = $(DOWNDIR)/$(shell basename $(WASM_TOOLS_URL) .tar.gz)/wasm-tools
4445
ADAPTER_URL ?= https://github.com/bytecodealliance/wasmtime/releases/download/v26.0.1/wasi_snapshot_preview1.command.wasm
4546
ADAPTER = $(DOWNDIR)/wasi_snapshot_preview1.command.wasm

0 commit comments

Comments
 (0)
Please sign in to comment.