Skip to content

Commit 95bab67

Browse files
authored
Do not require cross compilation for Ubuntu arm target ci
1 parent e6a8337 commit 95bab67

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.github/workflows/main.yml

+1-16
Original file line numberDiff line numberDiff line change
@@ -22,23 +22,8 @@ jobs:
2222
os: ubuntu-24.04
2323

2424
- artifact: arm64-linux
25-
os: ubuntu-24.04
25+
os: ubuntu-24.04-arm
2626
rust_target: aarch64-unknown-linux-gnu
27-
env:
28-
# Don't build a sysroot for this cross-compiled target since it
29-
# would require a host compiler and the sysroot is otherwise
30-
# already built on other CI builders.
31-
WASI_SDK_CI_SKIP_SYSROOT: 1
32-
33-
WASI_SDK_CI_TOOLCHAIN_LLVM_CMAKE_ARGS: >-
34-
-DCMAKE_C_COMPILER=aarch64-linux-gnu-gcc
35-
-DCMAKE_CXX_COMPILER=aarch64-linux-gnu-g++
36-
-DCMAKE_CROSSCOMPILING=True
37-
-DCMAKE_CXX_FLAGS=-march=armv8-a
38-
-DCMAKE_SYSTEM_PROCESSOR=arm64
39-
-DCMAKE_SYSTEM_NAME=Linux
40-
-DLLVM_HOST_TRIPLE=aarch64-linux-gnu
41-
-DRUST_TARGET=aarch64-unknown-linux-gnu
4227

4328
- artifact: arm64-macos
4429
os: macos-14

0 commit comments

Comments
 (0)