explicitly use qemu-ppc64le
This commit is contained in:
parent
7e29b4a15f
commit
6c835ef73e
@ -71,7 +71,7 @@ matrix:
|
||||
- gcc-powerpc64le-linux-gnu
|
||||
- libc6-ppc64el-cross
|
||||
- libc6-dev-ppc64el-cross
|
||||
- qemu-user-static
|
||||
- qemu-user
|
||||
- env: TARGET=x86_64-apple-darwin
|
||||
os: osx
|
||||
- env: TARGET=x86_64-unknown-linux-gnu
|
||||
|
@ -30,6 +30,7 @@ case $TARGET in
|
||||
;;
|
||||
powerpc64le-unknown-linux-gnu)
|
||||
export PREFIX=powerpc64le-linux-gnu-
|
||||
export QEMU=qemu-ppc64le
|
||||
export QEMU_LD_PREFIX=/usr/powerpc64le-linux-gnu
|
||||
;;
|
||||
esac
|
||||
|
11
ci/script.sh
11
ci/script.sh
@ -12,8 +12,15 @@ run_tests() {
|
||||
export RUST_TEST_THREADS=1
|
||||
fi
|
||||
|
||||
cargo test --target $TARGET
|
||||
cargo test --target $TARGET --release
|
||||
if [[ $QEMU ]]; then
|
||||
cargo test --target $TARGET --no-run
|
||||
$QEMU target/**/debug/rustc_builtins-*
|
||||
cargo test --target $TARGET --release --no-run
|
||||
$QEMU target/**/release/rustc_builtins-*
|
||||
else
|
||||
cargo test --target $TARGET
|
||||
cargo test --target $TARGET --release
|
||||
fi
|
||||
}
|
||||
|
||||
inspect() {
|
||||
|
Loading…
Reference in New Issue
Block a user