mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Allow build to fail on Redox and try up to three downloads on Appveyor
This commit is contained in:
parent
11df38bfae
commit
e76db1314d
2 changed files with 6 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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}\*;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue