Skip to content

Commit 9a60405

Browse files
committed
Fix capitalization, pass through, log env
1 parent 25ca7f6 commit 9a60405

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ jobs:
3434
steps:
3535
- uses: actions/checkout@v3
3636

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'
3939
run: echo "MIRIFLAGS=-Zmiri-tag-gc=1" >> $GITHUB_PATH
4040

4141
- name: Disable the tag GC on non-linux
42-
if: runner.os != 'linux'
42+
if: runner.os != 'Linux'
4343
run: echo "MIRIFLAGS=-Zmiri-tag-gc=0" >> $GITHUB_PATH
4444

4545
# We install gnu-tar because BSD tar is buggy on macOS builders of GHA.

ci.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,16 @@ function run_tests {
2424
echo "Testing host architecture"
2525
fi
2626

27+
env
28+
2729
## ui test suite
2830
./miri test
2931
if [ -z "${MIRI_TEST_TARGET+exists}" ]; then
3032
# Only for host architecture: tests with optimizations (`-O` is what cargo passes, but crank MIR
3133
# optimizations up all the way).
3234
# Optimizations change diagnostics (mostly backtraces), so we don't check them
3335
#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}
3537
fi
3638

3739
## test-cargo-miri

0 commit comments

Comments
 (0)