• Home
  • Raw
  • Download

Lines Matching +full:get +full:- +full:filehash

4   - x86
5 - x64
8 - Debug
9 - Release
12 - Visual Studio 2015
13 - Visual Studio 2017
18 NINJA_PATH: C:\Tools\ninja\ninja-%NINJA_TAG%
22 - GSL_CXX_STANDARD: 14
25 - GSL_CXX_STANDARD: 17
28 - GSL_CXX_STANDARD: 14
31 - GSL_CXX_STANDARD: 17
37 - image: Visual Studio 2015
39 - image: Visual Studio 2015
44 - C:\cmake-3.8.0-win32-x86
45 - C:\Tools\ninja
48 - ps: |
50 Start-FileDownload `
51 "https://github.com/ninja-build/ninja/releases/download/$env:NINJA_TAG/ninja-win.zip"
52 $hash = (Get-FileHash ninja-win.zip -Algorithm SHA512).Hash
53 if ($env:NINJA_SHA512 -eq $hash) {
54 7z e -y -bso0 ninja-win.zip -o"$env:NINJA_PATH"
55 } else { Write-Warning "Ninja download hash changed!"; Write-Output "$hash" }
59 } else { Write-Warning "Failed to find ninja.exe in expected location." }
60 if ($env:USE_TOOLSET -ne "LLVM") {
61 if (![IO.File]::Exists("C:\cmake-3.8.0-win32-x86\bin\cmake.exe")) {
62 Start-FileDownload 'https://cmake.org/files/v3.8/cmake-3.8.0-win32-x86.zip'
63 7z x -y -bso0 cmake-3.8.0-win32-x86.zip -oC:\
65 $env:PATH="C:\cmake-3.8.0-win32-x86\bin;$env:PATH"
69 - ps: |
70 if ("$env:USE_GENERATOR" -eq "Ninja") {
71 $GeneratorFlags = '-k 10'
73 if ("$env:APPVEYOR_BUILD_WORKER_IMAGE" -eq "Visual Studio 2015") {
78 $env:CMakeGenFlags = "-G Ninja -DGSL_CXX_STANDARD=$env:GSL_CXX_STANDARD"
81 if ("$env:APPVEYOR_BUILD_WORKER_IMAGE" -eq "Visual Studio 2015") {
86 if ("$env:PLATFORM" -eq "x86") {
91 if ("$env:USE_TOOLSET" -eq "LLVM") {
92 …$env:CMakeGenFlags = "-G `"$Generator`" -A $Architecture -T llvm -DGSL_CXX_STANDARD=$env:GSL_CXX_S…
94 … $env:CMakeGenFlags = "-G `"$Generator`" -A $Architecture -DGSL_CXX_STANDARD=$env:GSL_CXX_STANDARD"
97 if ("$env:USE_TOOLSET" -eq "LLVM") {
98 $env:CC = "clang-cl"
99 $env:CXX = "clang-cl"
100 if ("$env:PLATFORM" -eq "x86") {
101 $env:CFLAGS = "-m32";
102 $env:CXXFLAGS = "-m32";
104 $env:CFLAGS = "-m64";
105 $env:CXXFLAGS = "-m64";
108 $env:CMakeBuildFlags = "--config $env:CONFIGURATION -- $GeneratorFlags"
109 - mkdir build
110 - cd build
111 - if %USE_GENERATOR%==Ninja (call %VCVARSALL%)
112 - echo %CMakeGenFlags%
113 - cmake .. %CMakeGenFlags%
116 - echo %CMakeBuildFlags%
117 - cmake --build . %CMakeBuildFlags%
120 - ctest -j2