Skip to content

Commit dd9f818

Browse files
committed
Run stdarch tests in the CI
1 parent 04fd2d3 commit dd9f818

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,8 @@ jobs:
110110
- name: Run tests
111111
run: |
112112
./test.sh --release --clean --release-sysroot --build-sysroot --mini-tests --std-tests # --test-libcore # FIXME(antoyo): libcore tests fail.
113+
114+
- name: Run stdarch tests
115+
run: |
116+
cd build_sysroot/sysroot_src/library/stdarch/
117+
CHANNEL=release TARGET=x86_64-unknown-linux-gnu ../../../../cargo.sh test

src/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ pub fn compile_codegen_unit<'tcx>(tcx: TyCtxt<'tcx>, cgu_name: Symbol, supports_
101101
context.add_command_line_option("-m64");
102102
context.add_command_line_option("-mbmi");
103103
context.add_command_line_option("-mgfni");
104-
context.add_command_line_option("-mavxvnni");
104+
//context.add_command_line_option("-mavxvnni"); // The CI doesn't support this option.
105105
context.add_command_line_option("-mf16c");
106106
context.add_command_line_option("-maes");
107107
context.add_command_line_option("-mxsavec");

0 commit comments

Comments
 (0)