appveyor.yml 982 Bytes
Newer Older
Edward Thomson committed
1 2 3 4
version: '{build}'
branches:
  only:
  - master
5
  - /^maint.*/
6
environment:
7 8
  GITTEST_INVASIVE_FS_STRUCTURE: 1
  GITTEST_INVASIVE_FS_SIZE: 1
9

10 11 12 13 14
  matrix:
  - GENERATOR: "Visual Studio 11"
    ARCH: 32
  - GENERATOR: "Visual Studio 11 Win64"
    ARCH: 64
15 16
  - GENERATOR: "MSYS Makefiles"
    ARCH: 32
Tony Kelman committed
17 18 19 20
  - GENERATOR: "MSYS Makefiles"
    ARCH: i686 # this is for 32-bit MinGW-w64
  - GENERATOR: "MSYS Makefiles"
    ARCH: 64
21 22 23 24
matrix:
  allow_failures:
    - GENERATOR: "MSYS Makefiles"
      ARCH: 32
Tony Kelman committed
25 26 27
cache:
- i686-4.9.2-release-win32-sjlj-rt_v3-rev1.7z
- x86_64-4.9.2-release-win32-seh-rt_v3-rev1.7z
Edward Thomson committed
28
build_script:
29
- ps: |
Edward Thomson committed
30 31
    mkdir build
    cd build
32
    if ($env:GENERATOR -ne "MSYS Makefiles") {
33 34
      cmake -D ENABLE_TRACE=ON -D BUILD_CLAR=ON -D MSVC_CRTDBG=ON .. -G"$env:GENERATOR"
      cmake --build . --config Debug
35
    }
Tony Kelman committed
36 37
- cmd: |
    if "%GENERATOR%"=="MSYS Makefiles" (C:\MinGW\msys\1.0\bin\sh --login /c/projects/libgit2/script/appveyor-mingw.sh)
Edward Thomson committed
38 39
test_script:
- ps: ctest -V .