mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Allow build to fail on Redox and try up to three downloads on Appveyor
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
language: rust
|
||||
matrix:
|
||||
fast_finish: true
|
||||
include:
|
||||
- rust: stable
|
||||
os: linux
|
||||
@@ -22,6 +23,10 @@ matrix:
|
||||
- rust: nightly
|
||||
os: linux
|
||||
env: FEATURES=nightly,redox CC=x86_64-unknown-redox-gcc CARGO_ARGS='--no-default-features --target=x86_64-unknown-redox' REDOX=1
|
||||
allow_failures:
|
||||
- rust: nightly
|
||||
os: linux
|
||||
env: FEATURES=nightly,redox CC=x86_64-unknown-redox-gcc CARGO_ARGS='--no-default-features --target=x86_64-unknown-redox' REDOX=1
|
||||
|
||||
cache:
|
||||
directories:
|
||||
|
||||
+1
-1
@@ -19,13 +19,13 @@ environment:
|
||||
MSYS_BITS: 64
|
||||
|
||||
install:
|
||||
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
|
||||
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin;C:\MinGW\bin
|
||||
|
||||
# Use the system msys if we can
|
||||
- if defined MSYS_BITS set PATH=C:\msys64\mingw%MSYS_BITS%\bin;C:\msys64\usr\bin;%PATH%
|
||||
|
||||
- ps: >-
|
||||
Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe";
|
||||
if ((Test-Path Env:\MINGW_ARCHIVE) -and -not (Test-Path "${env:DIR_TEMP_MINGW}\${env:MINGW_ARCHIVE}")) {
|
||||
if (Test-Path "${env:DIR_TEMP_MINGW}") {
|
||||
rm -Recurse ${env:DIR_TEMP_MINGW}\*;
|
||||
|
||||
Reference in New Issue
Block a user