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 @@ -227,6 +227,23 @@ journey-tests-async: dbg
227227 cargo build -p gix-testtools
228228 dbg=" $({{ j }} dbg)" && tests/ journey.sh " $dbg/ein" " $dbg/gix" " $dbg/jtt" async
229229
230+ # Build a customized `cross` container image for testing
231+ cross-image target :
232+ docker build --build-arg " TARGET={{ target }} " -t " cross-rs-gitoxide:{{ target }} " \
233+ - <etc/ docker/ Dockerfile.test-cross
234+
235+ # Test another platform with `cross`
236+ cross-test target : (cross-image target)
237+ NO_PRELOAD_CXX=1 cross test --workspace --no-fail-fast --target " {{ target }} " \
238+ - -no-default-features --features max-pure \
239+ - - --skip realpath::fuzzed_timeout
240+
241+ # Test s390x with `cross`
242+ cross-test-s390x : (cross-test ' s390x-unknown-linux-gnu' )
243+
244+ # Test Android with `cross` (limited)
245+ cross-test-android : (cross-test ' armv7-linux-androideabi' )
246+
230247# Run `cargo diet` on all crates to see that they are still in bounds
231248check-size :
232249 etc/ check-package-size.sh
You can’t perform that action at this time.
0 commit comments