Fix cross-compilation script; disable non-existant Fuchsia target

This commit is contained in:
Diggory Hardy 2019-02-25 11:01:05 +00:00
parent 25bc1acba6
commit 446cff37ed
2 changed files with 5 additions and 5 deletions

View File

@ -87,14 +87,14 @@ matrix:
- rustup target add x86_64-sun-solaris - rustup target add x86_64-sun-solaris
- rustup target add x86_64-unknown-cloudabi - rustup target add x86_64-unknown-cloudabi
- rustup target add x86_64-unknown-freebsd - rustup target add x86_64-unknown-freebsd
- rustup target add x86_64-unknown-fuchsia #- rustup target add x86_64-unknown-fuchsia
- rustup target add x86_64-unknown-netbsd - rustup target add x86_64-unknown-netbsd
- rustup target add x86_64-unknown-redox - rustup target add x86_64-unknown-redox
script: script:
- cargo build --target=x86_64-sun-solaris --all-features - cargo build --target=x86_64-sun-solaris --all-features
- cargo build --target=x86_64-unknown-cloudabi --all-features - cargo build --target=x86_64-unknown-cloudabi --all-features
- cargo build --target=x86_64-unknown-freebsd --all-features - cargo build --target=x86_64-unknown-freebsd --all-features
- cargo build --target=x86_64-unknown-fuchsia --all-features #- cargo build --target=x86_64-unknown-fuchsia --all-features
- cargo build --target=x86_64-unknown-netbsd --all-features - cargo build --target=x86_64-unknown-netbsd --all-features
- cargo build --target=x86_64-unknown-redox --all-features - cargo build --target=x86_64-unknown-redox --all-features

View File

@ -3,9 +3,9 @@
set -ex set -ex
main() { main() {
- cross test --target $TARGET cross test --target $TARGET
- cross test --target $TARGET --benches cross test --target $TARGET --benches
- cross test --target $TARGET --examples cross test --target $TARGET --examples
} }
# we don't run the "test phase" when doing deploys # we don't run the "test phase" when doing deploys