# Appveyor configuration template for Rust using rustup for Rust installation # https://github.com/starkat99/appveyor-rust ## Operating System (VM environment) ## # Rust needs at least Visual Studio 2013 Appveyor OS for MSVC targets. os: Visual Studio 2015 ## Build Matrix ## environment: matrix: ### 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 ### 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 ## 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 ## Build Script ## build: false test_script: - cargo test --verbose %cargoflags% - cargo run --example cross-threads - cargo run --example logger-demo - cargo run --example panic-handler-demo ## Notifications ## notifications: - provider: Slack incoming_webhook: secure: 'MP8WFtIx5rBhfVYfwa2Wdj3jmyTDe9XDQWRl9Ef9BZaYmi1XEQBvT6NEW3IgbTSH1yUsL8mcbVlEzgSImkuk4qN32HGpyjU56FbWwC7Tttc' channel: '#crucible'