Skip to content

Commit a044ca5

Browse files
committed
ci: add aarch64 smoke assertion for current TODO backend
1 parent 0216121 commit a044ca5

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,19 @@ jobs:
7676

7777
- name: Build examples (aarch64)
7878
run: cargo build --examples --target aarch64-unknown-linux-gnu
79+
80+
- name: Run aarch64 example smoke (expected backend TODO)
81+
shell: bash
82+
run: |
83+
set -euo pipefail
84+
85+
cc -O0 -fno-omit-frame-pointer -fno-inline -no-pie examples/instrument_with_original/target.c -o examples/instrument_with_original/app
86+
87+
set +e
88+
OUT=$(cargo run --example instrument_with_original 2>&1)
89+
CODE=$?
90+
set -e
91+
92+
echo "$OUT"
93+
[[ $CODE -ne 0 ]]
94+
[[ "$OUT" == *"NotImplemented(\"linux aarch64 backend is planned but not implemented yet\")"* ]]

0 commit comments

Comments
 (0)