Skip to content

Commit c8e54bf

Browse files
committed
Keep the cross test config from affecting other cross usage
Since we also use `cross` to build some of the releases.
1 parent cbe438d commit c8e54bf

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Cross.toml renamed to etc/docker/test-cross.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# `cross` configuration for running tests. Treated like `Cross.toml` if enabled
2+
# with `CROSS_CONFIG=etc/docker/test-cross.toml`. This avoids affecting other
3+
# `cross` usage, e.g. in `release.yml`. See `cross-test` recipes in `justfile`.
4+
15
[build.env]
26
passthrough = [
37
"CI",

justfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ cross-image target:
234234

235235
# Test another platform with `cross`
236236
cross-test target: (cross-image target)
237-
NO_PRELOAD_CXX=1 cross test --workspace --no-fail-fast --target "{{ target }}" \
237+
CROSS_CONFIG=etc/docker/test-cross.toml NO_PRELOAD_CXX=1 \
238+
cross test --workspace --no-fail-fast --target "{{ target }}" \
238239
--no-default-features --features max-pure \
239240
-- --skip realpath::fuzzed_timeout
240241

0 commit comments

Comments
 (0)