mirror of
https://github.com/uutils/coreutils
synced 2024-11-16 09:48:03 +00:00
22 lines
661 B
YAML
22 lines
661 B
YAML
environment:
|
|
matrix:
|
|
- TARGET: x86_64-pc-windows-msvc
|
|
- TARGET: i686-pc-windows-msvc
|
|
- TARGET: i686-pc-windows-gnu
|
|
install:
|
|
- ps: Start-FileDownload "https://static.rust-lang.org/dist/rust-nightly-${env:TARGET}.exe"
|
|
- rust-nightly-%TARGET%.exe /VERYSILENT /NORESTART /DIR="C:\Program Files (x86)\Rust"
|
|
- SET PATH=%PATH%;C:\Program Files (x86)\Rust\bin
|
|
- SET PATH=%PATH%;C:\MinGW\bin
|
|
- rustc -V
|
|
- cargo -V
|
|
|
|
build_script:
|
|
- cargo build --release --features generic --no-default-features
|
|
|
|
artifacts:
|
|
- path: target\release\uutils.exe
|
|
name: uutils.exe
|
|
|
|
test_script:
|
|
- cargo test --no-fail-fast --features generic --no-default-features
|