-
Notifications
You must be signed in to change notification settings - Fork 2
/
appveyor.yml
31 lines (26 loc) · 911 Bytes
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
cache:
- C:\projects\learn-gfx-hal\target\ -> appveyor.yml
os: Visual Studio 2015
environment:
matrix:
# MSVC, only bother to verify stable
- channel: stable
target: x86_64-pc-windows-msvc
- channel: stable
target: i686-pc-windows-msvc
# GNU is not supported by shaderc-rs :(
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
# https://www.appveyor.com/docs/windows-images-software/
# Apparently cmake is already installed
# We just pick a version of python to place in the PATH
- set PATH=%PATH%;C:\Python26-x64
- rustc -vV
- cargo -vV
# On advice of reptep we skip the "build" script phase
build: false
test_script:
- cargo build --examples --features="vulkan"
- cargo build --examples --features="dx12"