diff options
author | Don <don.j.olmstead@gmail.com> | 2018-03-19 18:29:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-19 18:29:00 -0700 |
commit | 8d3a9a3729277be74f309f78b536ad61c39213f1 (patch) | |
tree | ba0b73a29b241528bec532f4fd588ba77316b68a | |
parent | af2646590570cd6356645b87a4ec0494666d2b06 (diff) | |
download | portable-8d3a9a3729277be74f309f78b536ad61c39213f1.tar.gz portable-8d3a9a3729277be74f309f78b536ad61c39213f1.tar.bz2 portable-8d3a9a3729277be74f309f78b536ad61c39213f1.zip |
Add appveyor support for Window CI/CD
Diffstat (limited to '')
-rw-r--r-- | appveyor.yml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..f7ada7f --- /dev/null +++ b/appveyor.yml | |||
@@ -0,0 +1,51 @@ | |||
1 | environment: | ||
2 | PATH: C:\msys64\usr\bin;C:\msys64\mingw64\bin;C:\Windows\System32;C:\Windows;%PATH% | ||
3 | VSTEST: OFF | ||
4 | |||
5 | matrix: | ||
6 | # x86 builds | ||
7 | - GENERATOR: Visual Studio 14 2015 | ||
8 | CONFIG: Release | ||
9 | SHARED_LIBS: ON | ||
10 | - GENERATOR: Visual Studio 14 2015 | ||
11 | CONFIG: Release | ||
12 | SHARED_LIBS: OFF | ||
13 | - GENERATOR: Visual Studio 14 2015 | ||
14 | CONFIG: Debug | ||
15 | SHARED_LIBS: ON | ||
16 | - GENERATOR: Visual Studio 14 2015 | ||
17 | CONFIG: Debug | ||
18 | SHARED_LIBS: ON | ||
19 | |||
20 | # x64 builds | ||
21 | - GENERATOR: Visual Studio 14 2015 Win64 | ||
22 | CONFIG: Release | ||
23 | SHARED_LIBS: ON | ||
24 | - GENERATOR: Visual Studio 14 2015 Win64 | ||
25 | CONFIG: Release | ||
26 | SHARED_LIBS: OFF | ||
27 | - GENERATOR: Visual Studio 14 2015 Win64 | ||
28 | CONFIG: Debug | ||
29 | SHARED_LIBS: ON | ||
30 | - GENERATOR: Visual Studio 14 2015 Win64 | ||
31 | CONFIG: Debug | ||
32 | SHARED_LIBS: ON | ||
33 | |||
34 | init: | ||
35 | # update mysy2 | ||
36 | - C:\msys64\usr\bin\bash -lc "pacman --needed --noconfirm -Sy pacman-mirrors" | ||
37 | - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -Sy" | ||
38 | - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S autoconf perl" | ||
39 | - C:\msys64\usr\bin\bash -lc "pacman --noconfirm -S git" | ||
40 | |||
41 | before_build: | ||
42 | - bash autogen.sh | ||
43 | - mkdir build | ||
44 | - cd build | ||
45 | - cmake .. -G "%GENERATOR%" -DBUILD_SHARED=%SHARED_LIBS% -DENABLE_VSTEST=%VSTEST% | ||
46 | |||
47 | build_script: | ||
48 | - cmake --build . --config %CONFIG% | ||
49 | |||
50 | test_script: | ||
51 | - ctest | ||