File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ jobs:
34
34
steps :
35
35
- uses : actions/checkout@v3
36
36
37
- - name : Set the tag GC interval to 0 on linux
38
- if : runner.os == 'linux '
37
+ - name : Set the tag GC interval to 1 on linux
38
+ if : runner.os == 'Linux '
39
39
run : echo "MIRIFLAGS=-Zmiri-tag-gc=1" >> $GITHUB_PATH
40
40
41
41
- name : Disable the tag GC on non-linux
42
- if : runner.os != 'linux '
42
+ if : runner.os != 'Linux '
43
43
run : echo "MIRIFLAGS=-Zmiri-tag-gc=0" >> $GITHUB_PATH
44
44
45
45
# We install gnu-tar because BSD tar is buggy on macOS builders of GHA.
Original file line number Diff line number Diff line change @@ -24,14 +24,16 @@ function run_tests {
24
24
echo " Testing host architecture"
25
25
fi
26
26
27
+ env
28
+
27
29
# # ui test suite
28
30
./miri test
29
31
if [ -z " ${MIRI_TEST_TARGET+exists} " ]; then
30
32
# Only for host architecture: tests with optimizations (`-O` is what cargo passes, but crank MIR
31
33
# optimizations up all the way).
32
34
# Optimizations change diagnostics (mostly backtraces), so we don't check them
33
35
# FIXME(#2155): we want to only run the pass and panic tests here, not the fail tests.
34
- MIRIFLAGS=" -O -Zmir-opt-level=4" MIRI_SKIP_UI_CHECKS=1 ./miri test -- tests/{pass,panic}
36
+ MIRIFLAGS=" $MIRIFLAGS -O -Zmir-opt-level=4" MIRI_SKIP_UI_CHECKS=1 ./miri test -- tests/{pass,panic}
35
37
fi
36
38
37
39
# # test-cargo-miri
You can’t perform that action at this time.
0 commit comments