Skip to content

Commit 499671b

Browse files
committed
Add ubuntu-aarch64-host workflow to CI
To ensure that the B compiler itself compiles on a linux-aarch64 host, since there are issue with the definition of ffi::c_char being different from x86_64 hosts.
1 parent 5d23941 commit 499671b

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@ on: [push, pull_request]
55
# May require a special support for build-only mode in btest
66

77
jobs:
8+
ubuntu-aarch64-host:
9+
runs-on: ubuntu-24.04-arm
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
- name: Install Rust
14+
run: rustup toolchain install stable --no-self-update --profile minimal
15+
- name: Install Dependencies
16+
run: |
17+
sudo apt-get update
18+
sudo apt-get install -qq -y clang make
19+
- name: Build Toolchain
20+
run: |
21+
make -B
22+
- name: Run Tests
23+
run: |
24+
./build/btest -t gas-aarch64-linux
825
ubuntu-linux-windows:
926
runs-on: ubuntu-latest
1027
steps:

0 commit comments

Comments
 (0)