brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · 81da955 Raw
51 lines · yaml
1version: '{build}'2 3image: Visual Studio 20174 5configuration:6  - Debug7  - Release8 9environment:10  matrix:11    - compiler: msvc-15-seh12      generator: "Visual Studio 15 2017"13 14    - compiler: msvc-15-seh15      generator: "Visual Studio 15 2017 Win64"16 17    - compiler: msvc-14-seh18      generator: "Visual Studio 14 2015"19 20    - compiler: msvc-14-seh21      generator: "Visual Studio 14 2015 Win64"22 23    - compiler: gcc-5.3.0-posix24      generator: "MinGW Makefiles"25      cxx_path: 'C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin'26      APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 201527 28matrix:29  fast_finish: true30 31install:32  # git bash conflicts with MinGW makefiles33  - if "%generator%"=="MinGW Makefiles" (set "PATH=%PATH:C:\Program Files\Git\usr\bin;=%")34  - if not "%cxx_path%"=="" (set "PATH=%PATH%;%cxx_path%")35 36build_script:37  - md _build -Force38  - cd _build39  - echo %configuration%40  - cmake -G "%generator%" "-DCMAKE_BUILD_TYPE=%configuration%" -DBENCHMARK_DOWNLOAD_DEPENDENCIES=ON ..41  - cmake --build . --config %configuration%42 43test_script:44  - ctest --build-config %configuration% --timeout 300 --output-on-failure45 46artifacts:47  - path: '_build/CMakeFiles/*.log'48    name: logs49  - path: '_build/Testing/**/*.xml'50    name: test_results51