Skip to content

Commit be2e04a

Browse files
committed
Run build jobs with target-features on mips and ppc
1 parent dcdb272 commit be2e04a

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

ci/run.sh

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,21 @@ case ${TARGET} in
8080
cargo_test "--release --no-run"
8181
;;
8282
mips-*gnu* | mipsel-*gnu*)
83-
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+msa,+fp64,+mips32r5"
84-
;;
83+
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+msa,+fp64,+mips32r5"
84+
cargo_test "--release"
85+
;;
8586
mips64*)
86-
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+msa"
87-
;;
87+
export RUSTFLAGS="${RUSTFLAGS} -C target-feature=+msa"
88+
cargo_test "--release"
89+
;;
90+
powerpc*)
91+
OLD_RUSTFLAGS="${RUSTFLAGS}"
92+
export RUSTFLAGS="${OLD_RUSTFLAGS} -C target-feature=+altivec"
93+
cargo_test "--release"
94+
95+
export RUSTFLAGS="${OLD_RUSTFLAGS} -C target-feature=+vsx"
96+
cargo_test "--release"
97+
;;
8898
*)
8999
;;
90100

0 commit comments

Comments
 (0)