Skip to content

Commit 111cd5d

Browse files
feat: Added x86 to CI pipeline
1 parent 746f7f3 commit 111cd5d

File tree

2 files changed

+158434
-0
lines changed

2 files changed

+158434
-0
lines changed

ci/run.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@ fi
9191
# Test targets compiled with extra features.
9292
case ${TARGET} in
9393
x86_64-unknown-linux-gnu)
94+
TEST_CPPFLAGS="-fuse-ld=lld -I/usr/include/x86_64-linux-gnu/"
95+
TEST_CXX_COMPILER="clang++-19"
96+
TEST_RUNNER="${CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUNNER}"
9497
export STDARCH_DISABLE_ASSERT_INSTR=1
9598

9699
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+avx"
@@ -181,6 +184,15 @@ case "${TARGET}" in
181184
--linker "${CARGO_TARGET_AARCH64_BE_UNKNOWN_LINUX_GNU_LINKER}" \
182185
--cxx-toolchain-dir "${AARCH64_BE_TOOLCHAIN}"
183186
;;
187+
188+
x86_64-unknown-linux-gnu*)
189+
CPPFLAGS="${TEST_CPPFLAGS}" RUSTFLAGS="${HOST_RUSTFLAGS}" RUST_LOG=warn \
190+
cargo run "${INTRINSIC_TEST}" "${PROFILE}" \
191+
--bin intrinsic-test -- intrinsics_data/x86-intel.xml \
192+
--runner "${TEST_RUNNER}" \
193+
--cppcompiler "${TEST_CXX_COMPILER}" \
194+
--target "${TARGET}"
195+
;;
184196
*)
185197
;;
186198
esac

0 commit comments

Comments
 (0)