File tree Expand file tree Collapse file tree 2 files changed +17
-22
lines changed Expand file tree Collapse file tree 2 files changed +17
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -224,6 +224,23 @@ journey-tests-async: dbg
224
224
cargo build -p gix-testtools
225
225
dbg=" $({{ j }} dbg)" && tests/ journey.sh " $dbg/ein" " $dbg/gix" " $dbg/jtt" async
226
226
227
+ # Build a customized `cross` container image for testing
228
+ cross-image target :
229
+ docker build --build-arg " TARGET={{ target }} " -t " cross-rs-gitoxide:{{ target }} " \
230
+ - <etc/ docker/ Dockerfile.test-cross
231
+
232
+ # Test another platform with `cross`
233
+ cross-test target : (cross-image target)
234
+ NO_PRELOAD_CXX=1 cross test --workspace --no-fail-fast --target " {{ target }} " \
235
+ - -no-default-features --features max-pure \
236
+ - - --skip realpath::fuzzed_timeout
237
+
238
+ # Test s390x with `cross`
239
+ cross-test-s390x : (cross-test ' s390x-unknown-linux-gnu' )
240
+
241
+ # Test Android with `cross` (limited)
242
+ cross-test-android : (cross-test ' armv7-linux-androideabi' )
243
+
227
244
# Run `cargo diet` on all crates to see that they are still in bounds
228
245
check-size :
229
246
etc/ check-package-size.sh
You can’t perform that action at this time.
0 commit comments