Skip to content

Commit 1f6e340

Browse files
CI: set TEST_DIR when using cross
This should fix a GitHub Actions failure.
1 parent cc83ed7 commit 1f6e340

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ jobs:
122122
cargo install cross --locked --git https://github.com/cross-rs/cross
123123
- name: Test
124124
run: |
125+
export TEST_DIR=$RUNNER_TEMP
125126
cross test --target=${{ matrix.target }} --release --verbose
126127
127128
cross-build:

Cross.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[build.env]
2+
passthrough = [
3+
"TEST_DIR",
4+
"TEST_DIR_SUPPORTS_UNNAMED",
5+
]

0 commit comments

Comments
 (0)