]> git.proxmox.com Git - libgit2.git/blob - appveyor.yml
Merge pull request #2970 from ethomson/inmemory_bare
[libgit2.git] / appveyor.yml
1 version: '{build}'
2 branches:
3 only:
4 - master
5 environment:
6 GITTEST_INVASIVE_FS_STRUCTURE: 1
7 GITTEST_INVASIVE_FS_SIZE: 1
8
9 matrix:
10 - GENERATOR: "Visual Studio 11"
11 ARCH: 32
12 - GENERATOR: "Visual Studio 11 Win64"
13 ARCH: 64
14 - GENERATOR: "MSYS Makefiles"
15 ARCH: 32
16 - GENERATOR: "MSYS Makefiles"
17 ARCH: i686 # this is for 32-bit MinGW-w64
18 - GENERATOR: "MSYS Makefiles"
19 ARCH: 64
20 matrix:
21 allow_failures:
22 - GENERATOR: "MSYS Makefiles"
23 ARCH: 32
24 cache:
25 - i686-4.9.2-release-win32-sjlj-rt_v3-rev1.7z
26 - x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z
27 build_script:
28 - ps: |
29 mkdir build
30 cd build
31 if ($env:GENERATOR -ne "MSYS Makefiles") {
32 cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON .. -G"$env:GENERATOR"
33 cmake --build . --config RelWithDebInfo
34 }
35 - cmd: |
36 if "%GENERATOR%"=="MSYS Makefiles" (C:\MinGW\msys\1.0\bin\sh --login /c/projects/libgit2/script/appveyor-mingw.sh)
37 test_script:
38 - ps: ctest -V .