Skip to content

Commit 3155ab3

Browse files
committed
Try two at toolchain
1 parent f7928f8 commit 3155ab3

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.cirrus.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,6 @@ task:
173173
env:
174174
TARGET: x86_64-fuchsia
175175
CHECK_TESTS: true
176-
- name: illumos x86_64
177-
env:
178-
TARGET: x86_64-unknown-illumos
179-
TOOLCHAIN: stable
180176
container:
181177
image: rust:1.40
182178
setup_script:
@@ -189,6 +185,21 @@ task:
189185
# they don't build on all platforms.
190186
before_cache_script: rm -rf $CARGO_HOME/registry/index
191187

188+
# illumos toolchain isn't available on 1.40
189+
task:
190+
name: illumos
191+
env:
192+
TARGET: x86_64-unknown-illumos
193+
TOOLCHAIN: stable
194+
container:
195+
image: rust:1.40
196+
setup_script:
197+
- rustup toolchain install $TOOLCHAIN --profile minimal --target $TARGET
198+
script:
199+
- cargo +$TOOLCHAIN check --target $TARGET
200+
- cargo +$TOOLCHAIN check --target $TARGET --release
201+
before_cache_script: rm -rf $CARGO_HOME/registry/index
202+
192203
# Redoxer is too unreliable, so we'll do a cross-build only
193204
# See also:
194205
# https://github.com/nix-rust/nix/issues/1258

0 commit comments

Comments
 (0)