|
4 | 4 |
|
5 | 5 | set -euxo pipefail
|
6 | 6 |
|
7 |
| -ARGS="run --features=run --bin=test-assembly -- -Zbuild-std --target" |
| 7 | +echo Building assembly tester |
| 8 | +cargo build --features=run --bin=test-assembly |
8 | 9 |
|
9 |
| -# Add `+nightly` when using `-Zbuild-std` if the user's `cargo` is not a |
10 |
| -# `nightly` by default |
11 |
| -if grep -q nightly <<< $(cargo --version); then |
12 |
| - NIGHTLY="" |
13 |
| -else |
14 |
| - NIGHTLY="+nightly" |
15 |
| -fi |
| 10 | +RUN="./target/debug/test-assembly -Zbuild-std --target" |
| 11 | +export RUSTUP_TOOLCHAIN="nightly" |
16 | 12 |
|
17 | 13 | echo "Apple"
|
18 |
| -cargo $NIGHTLY $ARGS x86_64-apple-darwin |
19 |
| -cargo $NIGHTLY $ARGS aarch64-apple-darwin |
20 |
| -cargo $NIGHTLY $ARGS armv7s-apple-ios |
21 |
| -cargo $NIGHTLY $ARGS armv7-apple-ios |
22 |
| -cargo $NIGHTLY $ARGS i386-apple-ios |
| 14 | +$RUN x86_64-apple-darwin |
| 15 | +$RUN aarch64-apple-darwin |
| 16 | +$RUN armv7s-apple-ios |
| 17 | +$RUN armv7-apple-ios |
| 18 | +$RUN i386-apple-ios |
23 | 19 |
|
24 | 20 | echo "Old Apple"
|
25 |
| -cargo $NIGHTLY $ARGS i686-apple-darwin |
| 21 | +$RUN i686-apple-darwin |
26 | 22 |
|
27 | 23 | echo "GNUStep"
|
28 |
| -cargo $NIGHTLY $ARGS x86_64-unknown-linux-gnu --no-default-features --features=std,gnustep-2-1 |
29 |
| -cargo $NIGHTLY $ARGS i686-unknown-linux-gnu --no-default-features --features=std,gnustep-2-1 |
| 24 | +$RUN x86_64-unknown-linux-gnu --no-default-features --features=std,gnustep-2-1 |
| 25 | +$RUN i686-unknown-linux-gnu --no-default-features --features=std,gnustep-2-1 |
30 | 26 |
|
31 | 27 | echo "Old GNUStep"
|
32 |
| -cargo $NIGHTLY $ARGS x86_64-unknown-linux-gnu --no-default-features --features=std,gnustep-1-7 |
33 |
| -cargo $NIGHTLY $ARGS i686-unknown-linux-gnu --no-default-features --features=std,gnustep-1-7 |
| 28 | +$RUN x86_64-unknown-linux-gnu --no-default-features --features=std,gnustep-1-7 |
| 29 | +$RUN i686-unknown-linux-gnu --no-default-features --features=std,gnustep-1-7 |
0 commit comments