mirror of
https://github.com/Lokathor/bytemuck.git
synced 2024-11-25 08:12:26 +00:00
46 lines
980 B
YAML
46 lines
980 B
YAML
|
|
||
|
os: Visual Studio 2015
|
||
|
|
||
|
branches:
|
||
|
only:
|
||
|
- staging
|
||
|
- trying
|
||
|
- master
|
||
|
- dev
|
||
|
|
||
|
matrix:
|
||
|
fast_finish: true
|
||
|
|
||
|
environment:
|
||
|
matrix:
|
||
|
# Stable
|
||
|
- channel: 1.36.0
|
||
|
target: i686-pc-windows-msvc
|
||
|
- channel: 1.36.0
|
||
|
target: i686-pc-windows-gnu
|
||
|
- channel: 1.36.0
|
||
|
target: x86_64-pc-windows-msvc
|
||
|
- channel: 1.36.0
|
||
|
target: x86_64-pc-windows-gnu
|
||
|
# Beta and Nightly are checked by TravisCI since builds there run in
|
||
|
# parallel.
|
||
|
|
||
|
install:
|
||
|
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
||
|
- rustup-init -y --default-toolchain %channel% --default-host %target%
|
||
|
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
|
||
|
- rustup component add rustfmt
|
||
|
- rustup component add clippy
|
||
|
- rustc -vV
|
||
|
- cargo -vV
|
||
|
|
||
|
# On advice of retep we skip the "build" script phase
|
||
|
build: false
|
||
|
|
||
|
test_script:
|
||
|
- cargo fmt -- --check
|
||
|
- cargo clippy
|
||
|
- cargo test --no-default-features
|
||
|
- cargo test
|
||
|
- cargo test --all-features
|