-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3b7d39
commit d19e455
Showing
3 changed files
with
90 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,65 @@ | ||
# Appveyor configuration template for Rust using rustup for Rust installation | ||
# https://github.com/starkat99/appveyor-rust | ||
|
||
## Operating System (VM environment) ## | ||
os: Visual Studio 2017 | ||
|
||
## Build Matrix ## | ||
build: false | ||
skip_tags: true | ||
cache: | ||
- C:\Users\appveyor\.cargo\registry | ||
- target | ||
environment: | ||
global: | ||
CHANNEL: stable | ||
PROJECT_NAME: uom | ||
# APPVEYOR_CACHE_SKIP_RESTORE: true # Uncomment when caching causes problems | ||
matrix: | ||
# Oldest supported | ||
- TARGET: i686-pc-windows-msvc | ||
CHANNEL: 1.20.0 | ||
- TARGET: i686-pc-windows-gnu | ||
CHANNEL: 1.20.0 | ||
- TARGET: x86_64-pc-windows-msvc | ||
CHANNEL: 1.20.0 | ||
- TARGET: x86_64-pc-windows-gnu | ||
CHANNEL: 1.20.0 | ||
# Stable channel | ||
- TARGET: i686-pc-windows-msvc | ||
CHANNEL: stable | ||
- TARGET: i686-pc-windows-gnu | ||
CHANNEL: stable | ||
- TARGET: x86_64-pc-windows-msvc | ||
CHANNEL: stable | ||
- TARGET: x86_64-pc-windows-gnu | ||
CHANNEL: stable | ||
# Beta channel | ||
- TARGET: i686-pc-windows-msvc | ||
CHANNEL: beta | ||
- TARGET: i686-pc-windows-gnu | ||
CHANNEL: beta | ||
- TARGET: x86_64-pc-windows-msvc | ||
CHANNEL: beta | ||
- TARGET: x86_64-pc-windows-gnu | ||
CHANNEL: beta | ||
# Nightly channel | ||
- TARGET: i686-pc-windows-msvc | ||
CHANNEL: nightly | ||
- TARGET: i686-pc-windows-gnu | ||
CHANNEL: nightly | ||
- TARGET: x86_64-pc-windows-msvc | ||
CHANNEL: nightly | ||
- TARGET: x86_64-pc-windows-gnu | ||
CHANNEL: nightly | ||
|
||
### MSVC Toolchains ### | ||
# Stable 64-bit MSVC | ||
- channel: stable | ||
target: x86_64-pc-windows-msvc | ||
# Stable 32-bit MSVC | ||
- channel: stable | ||
target: i686-pc-windows-msvc | ||
# Beta 64-bit MSVC | ||
- channel: beta | ||
target: x86_64-pc-windows-msvc | ||
# Beta 32-bit MSVC | ||
- channel: beta | ||
target: i686-pc-windows-msvc | ||
|
||
### GNU Toolchains ### | ||
# Stable 64-bit GNU | ||
- channel: stable | ||
target: x86_64-pc-windows-gnu | ||
# Stable 32-bit GNU | ||
- channel: stable | ||
target: i686-pc-windows-gnu | ||
# Beta 64-bit GNU | ||
- channel: beta | ||
target: x86_64-pc-windows-gnu | ||
# Beta 32-bit GNU | ||
- channel: beta | ||
target: i686-pc-windows-gnu | ||
|
||
### Allowed failures ### | ||
matrix: | ||
allow_failures: | ||
- channel: nightly | ||
- CHANNEL: nightly | ||
|
||
## Install Script ## | ||
install: | ||
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe | ||
- rustup-init -yv --default-toolchain %channel% --default-host %target% | ||
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin | ||
- rustc -vV | ||
- cargo -vV | ||
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe | ||
- rustup-init -yv --default-toolchain %CHANNEL% --default-host %TARGET% | ||
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin | ||
- rustc -Vv | ||
- cargo -V | ||
|
||
## Build Script ## | ||
build: false | ||
test_script: | ||
- cargo build --verbose --no-default-features --features "autoconvert usize u8 u16 u32 u64 isize i8 i16 i32 i64 bigint biguint rational rational32 rational64 bigrational f32 f64 si std use_serde" | ||
- cargo test --verbose --no-run --no-default-features --features "autoconvert usize u8 u16 u32 u64 isize i8 i16 i32 i64 bigint biguint rational rational32 rational64 bigrational f32 f64 std use_serde" | ||
- cargo test --all --verbose --features "use_serde" | ||
- cargo test --all --verbose --features "use_serde" | ||
|
||
notifications: | ||
- provider: Email | ||
on_build_success: false | ||
- provider: Email | ||
on_build_success: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters