-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
49 lines (43 loc) · 1.38 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
os: Visual Studio 2015
matrix:
fast_finish: true
environment:
# Note(Lokathor): When someone submits the GNU files we can add the GNU stuff
# into our CI. Until then, no GNU CI support.
matrix:
# 32-bit MSVC
- channel: 1.33.0
target: i686-pc-windows-msvc
# 64-bit MSVC
- channel: 1.33.0
target: x86_64-pc-windows-msvc
install:
# Put our DLL in place, depending on 32-bit/64-bit
- if %target%==i686-pc-windows-msvc cp win32-devel-files\VC\lib\x86\SDL2.dll .
- if %target%==i686-pc-windows-msvc dir *.dll
- if %target%==x86_64-pc-windows-msvc cp win32-devel-files\VC\lib\x64\SDL2.dll .
- if %target%==x86_64-pc-windows-msvc dir *.dll
# Setup Rust
- 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
- rustc -vV
- cargo -vV
build: false
test_script:
# dynamic 2.0.8
- cargo build
- cargo test
- cargo clean
# dynamic 2.0.9
- cargo build --features="bind_SDL2_2_0_9"
- cargo test --features="bind_SDL2_2_0_9"
- cargo clean
# dynamic 2.0.10
- cargo build --features="bind_SDL2_2_0_10"
- cargo test --features="bind_SDL2_2_0_10"
- cargo clean
# static 2.0.8
- cargo build --no-default-features --features="link_static"
- cargo test --no-default-features --features="link_static"
- cargo clean