Skip to content

Commit

Permalink
Try two at toolchain
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbking committed Mar 5, 2021
1 parent f7928f8 commit 3155ab3
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,6 @@ task:
env:
TARGET: x86_64-fuchsia
CHECK_TESTS: true
- name: illumos x86_64
env:
TARGET: x86_64-unknown-illumos
TOOLCHAIN: stable
container:
image: rust:1.40
setup_script:
Expand All @@ -189,6 +185,21 @@ task:
# they don't build on all platforms.
before_cache_script: rm -rf $CARGO_HOME/registry/index

# illumos toolchain isn't available on 1.40
task:
name: illumos
env:
TARGET: x86_64-unknown-illumos
TOOLCHAIN: stable
container:
image: rust:1.40
setup_script:
- rustup toolchain install $TOOLCHAIN --profile minimal --target $TARGET
script:
- cargo +$TOOLCHAIN check --target $TARGET
- cargo +$TOOLCHAIN check --target $TARGET --release
before_cache_script: rm -rf $CARGO_HOME/registry/index

# Redoxer is too unreliable, so we'll do a cross-build only
# See also:
# https://github.com/nix-rust/nix/issues/1258
Expand Down

0 comments on commit 3155ab3

Please sign in to comment.