diff options
author | Michal 'vorner' Vaner <vorner@vorner.cz> | 2018-09-01 10:57:20 +0200 |
---|---|---|
committer | Michal 'vorner' Vaner <vorner@vorner.cz> | 2018-09-14 23:25:57 +0200 |
commit | 35687f1d187ec21019906f900e99f064bf55c0eb (patch) | |
tree | dc8d638ecc521655d5e05f8157bf74aa8a65bf33 /tokio-signal/appveyor.yml | |
parent | e7dc3a10916f298915ae40503b33041e53593c86 (diff) |
signal: Move to tokio-signal subdirectory
As a preparation to merge with tokio.
Diffstat (limited to 'tokio-signal/appveyor.yml')
-rw-r--r-- | tokio-signal/appveyor.yml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tokio-signal/appveyor.yml b/tokio-signal/appveyor.yml new file mode 100644 index 00000000..6067b9d2 --- /dev/null +++ b/tokio-signal/appveyor.yml @@ -0,0 +1,35 @@ +environment: + matrix: + # Stable channel + - TARGET: x86_64-pc-windows-gnu + CHANNEL: stable + - TARGET: x86_64-pc-windows-msvc + CHANNEL: stable + # Beta channel + - TARGET: x86_64-pc-windows-msvc + CHANNEL: beta + # Nightly channel + - TARGET: x86_64-pc-windows-msvc + CHANNEL: nightly + +# Install Rust and Cargo +# (Based on from https://github.com/rust-lang/libc/blob/master/appveyor.yml) +install: + - curl -sSf -o rustup-init.exe https://win.rustup.rs + - rustup-init.exe --default-host %TARGET% --default-toolchain %CHANNEL% -y + - set PATH=%PATH%;C:\Users\appveyor\.cargo\bin + - rustc -Vv + - cargo -V + +# 'cargo test' takes care of building for us, so disable Appveyor's build stage. This prevents +# the "directory does not contain a project or solution file" error. +# source: https://github.com/starkat99/appveyor-rust/blob/master/appveyor.yml#L113 +build: false + +test_script: + - cargo build --example ctrl-c + - rustdoc --test README.md -L target/debug/deps + +branches: + only: + - master |