Skip to content

Commit 47bfda6

Browse files
committed
chore: run tests on linux arm64 runners
1 parent 17208fa commit 47bfda6

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/run-all-tests-pr.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
name: Build & Test
3737
strategy:
3838
matrix:
39-
os: [ubuntu-22.04, windows-2022, macos-14]
39+
os: [ubuntu-22.04, ubuntu-22.04-arm, windows-2022, macos-14]
4040
jdk: [21, 8]
4141
include:
4242
- jdk: 21
@@ -47,6 +47,8 @@ jobs:
4747
# bazel_args: "//launcher/android:jazzer_android"
4848
- os: ubuntu-22.04
4949
arch: "linux"
50+
- os: ubuntu-22.04-arm
51+
arch: "linux-arm64"
5052
- os: macos-14
5153
arch: "macos-arm64"
5254
bazel_args: "--xcode_version_config=//.github:host_xcodes"

src/main/java/com/code_intelligence/jazzer/Jazzer.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,8 @@ private static List<String> asanLibNames() {
527527
}
528528

529529
// Since LLVM 15 sanitizer runtimes no longer have the architecture in the filename.
530-
return asList("libclang_rt.asan.so", "libclang_rt.asan-x86_64.so");
530+
return asList(
531+
"libclang_rt.asan.so", "libclang_rt.asan-x86_64.so", "libclang_rt.asan-aarch64.so");
531532
} else {
532533
return singletonList("libclang_rt.asan_osx_dynamic.dylib");
533534
}
@@ -541,7 +542,10 @@ private static List<String> ubsanLibNames() {
541542
exit(1);
542543
}
543544

544-
return asList("libclang_rt.ubsan_standalone.so", "libclang_rt.ubsan_standalone-x86_64.so");
545+
return asList(
546+
"libclang_rt.ubsan_standalone.so",
547+
"libclang_rt.ubsan_standalone-x86_64.so",
548+
"libclang_rt.ubsan_standalone-aarch64.so");
545549
} else {
546550
return singletonList("libclang_rt.ubsan_osx_dynamic.dylib");
547551
}

0 commit comments

Comments
 (0)