Home | History | Annotate | Download | only in google-benchmark
      1 version: '{build}'
      2 
      3 image: Visual Studio 2017
      4 
      5 configuration:
      6   - Debug
      7   - Release
      8 
      9 environment:
     10   matrix:
     11     - compiler: msvc-15-seh
     12       generator: "Visual Studio 15 2017"
     13 
     14     - compiler: msvc-15-seh
     15       generator: "Visual Studio 15 2017 Win64"
     16 
     17     - compiler: msvc-14-seh
     18       generator: "Visual Studio 14 2015"
     19 
     20     - compiler: msvc-14-seh
     21       generator: "Visual Studio 14 2015 Win64"
     22 
     23     - compiler: msvc-12-seh
     24       generator: "Visual Studio 12 2013"
     25 
     26     - compiler: msvc-12-seh
     27       generator: "Visual Studio 12 2013 Win64"
     28 
     29     - compiler: gcc-5.3.0-posix
     30       generator: "MinGW Makefiles"
     31       cxx_path: 'C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin'
     32       APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
     33 
     34 matrix:
     35   fast_finish: true
     36 
     37 install:
     38   # git bash conflicts with MinGW makefiles
     39   - if "%generator%"=="MinGW Makefiles" (set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%")
     40   - if not "%cxx_path%"=="" (set "PATH=%PATH%;%cxx_path%")
     41 
     42 build_script:
     43   - md _build -Force
     44   - cd _build
     45   - echo %configuration%
     46   - cmake -G "%generator%" "-DCMAKE_BUILD_TYPE=%configuration%" ..
     47   - cmake --build . --config %configuration%
     48 
     49 test_script:
     50   - ctest -c %configuration% --timeout 300 --output-on-failure
     51 
     52 artifacts:
     53   - path: '_build/CMakeFiles/*.log'
     54     name: logs
     55   - path: '_build/Testing/**/*.xml'
     56     name: test_results
     57