Skip to content

Commit 09e975d

Browse files
committed
Try to configure env at runtime
1 parent ce9f04e commit 09e975d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ jobs:
1818
env:
1919
RUST_BACKTRACE: 1
2020
HOST_TARGET: ${{ matrix.host_target }}
21-
MIRIFLAGS: -Zmiri-tag-gc=${{ matrix.os == 'ubuntu-latest' }}
2221
strategy:
2322
matrix:
2423
build: [linux64, macos, win32]
@@ -35,6 +34,12 @@ jobs:
3534
steps:
3635
- uses: actions/checkout@v3
3736

37+
- name: Configure
38+
run: echo "MIRIFLAGS=-Zmiri-tag-gc=$([[ ${{ matrix.os }} == \"ubuntu.latest\" ]]; echo $?)" >> $GITHUB_ENV
39+
40+
- name: Test
41+
run: echo $MIRIFLAGS
42+
3843
# We install gnu-tar because BSD tar is buggy on macOS builders of GHA.
3944
# See <https://github.com/actions/cache/issues/403>.
4045
- name: Install GNU tar

0 commit comments

Comments
 (0)