mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-24 23:26:41 +00:00
38 lines
967 B
YAML
38 lines
967 B
YAML
version: 0.10.{build}
|
|
pull_requests:
|
|
do_not_increment_build_number: true
|
|
|
|
branches:
|
|
except:
|
|
- github-actions
|
|
|
|
os: Visual Studio 2015
|
|
|
|
environment:
|
|
matrix:
|
|
- TARGET: x86_64-pc-windows-msvc
|
|
CHANNEL: 1.31.1
|
|
- TARGET: x86_64-pc-windows-gnu
|
|
CHANNEL: stable
|
|
- TARGET: x86_64-pc-windows-msvc
|
|
CHANNEL: stable
|
|
- TARGET: i686-pc-windows-gnu
|
|
CHANNEL: stable
|
|
- TARGET: i686-pc-windows-msvc
|
|
CHANNEL: stable
|
|
|
|
install:
|
|
- curl -sSf -o rustup-init.exe https://win.rustup.rs
|
|
- rustup-init.exe --profile=minimal --component rustfmt,clippy --default-host %TARGET% --default-toolchain %CHANNEL% -y
|
|
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
|
|
- rustc -Vv
|
|
- cargo -V
|
|
|
|
build: false
|
|
|
|
test_script:
|
|
- if not "%CHANNEL%"=="1.31.1" cargo fmt --all -- --check
|
|
- if not "%CHANNEL%"=="1.31.1" cargo clippy --all-features --all-targets
|
|
- cargo test --release --no-default-features
|
|
- cargo test --release --all-features
|