Use regular cargo commands for x86_64 Linux

This commit is contained in:
timvisee 2018-05-25 19:38:06 +02:00
parent 4b515a9a51
commit aa0cdce76d
No known key found for this signature in database
GPG key ID: 109CBA0BF74036C2

View file

@ -24,16 +24,19 @@ jobs:
- stage: build
rust: stable
env: TARGET=x86_64-unknown-linux-gnu
script: &build-script
- cargo build --verbose --all
- cargo build --no-default-features --verbose --all
- cargo build --features no-color --verbose --all
cache: cargo
- stage: build
rust: stable
env: TARGET=i686-unknown-linux-gnu
script: &build-script-cross
- cargo install cross
- cross build --target $TARGET --verbose --all
- cross build --target $TARGET --no-default-features --verbose --all
- cross build --target $TARGET --features no-color --verbose --all
cache: cargo
- stage: build
rust: stable
env: TARGET=i686-unknown-linux-gnu
script: *build-script-cross
- stage: build
rust: stable
env: TARGET=aarch64-unknown-linux-gnu
@ -101,7 +104,8 @@ jobs:
- cargo publish --verbose
cache: cargo
# TODO: more architectures
# TODO: add BSD architecture
# TODO: use regular cargo commands for x86_64 linux
# TODO: release a build for each architecture
# TODO: enfore the git tag/crate version equality for releases
# TODO: disable addons/rust installation for GitHub release job