mirror of
https://github.com/retep998/winapi-rs
synced 2026-06-08 17:07:48 +00:00
43 lines
1.3 KiB
YAML
43 lines
1.3 KiB
YAML
image: Visual Studio 2017
|
|
|
|
environment:
|
|
matrix:
|
|
- host: x86_64-pc-windows-msvc
|
|
targets: aarch64-pc-windows-msvc
|
|
channel: nightly
|
|
- host: i686-pc-windows-msvc
|
|
channel: nightly
|
|
- host: x86_64-pc-windows-gnu
|
|
channel: nightly
|
|
- host: i686-pc-windows-gnu
|
|
channel: nightly
|
|
- host: x86_64-pc-windows-gnu
|
|
channel: 1.6.0
|
|
|
|
install:
|
|
- ps: if (ls -r . -fi "*.rs" | sls "`t") { throw "Found tab character" }
|
|
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
|
|
- rustup-init.exe -y --default-toolchain %channel% --default-host %host%
|
|
- ps: $env:CARGO_INCREMENTAL = 0
|
|
- ps: $env:PATH = "$env:PATH;${env:USERPROFILE}\.cargo\bin"
|
|
- ps: >
|
|
if ($env:targets) { $env:targets -split " " | %{
|
|
cmd /c "rustup target add $_ 2>&1"
|
|
}}
|
|
- rustc -vV
|
|
- cargo -vV
|
|
|
|
build_script:
|
|
- cargo build
|
|
- cargo build --features "everything impl-debug impl-default"
|
|
- cargo build --release --features "everything impl-debug impl-default"
|
|
- cargo test --features "everything impl-debug impl-default"
|
|
- ps: >
|
|
if ($env:targets) { $env:targets -split " " | %{
|
|
cmd /c "cargo test --target=$_ --features `"everything impl-debug impl-default`" --no-run 2>&1"
|
|
}}
|
|
|
|
notifications:
|
|
- provider: Webhook
|
|
url: https://webhooks.gitter.im/e/d3d6703d143c888f0a8a
|