-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathappveyor.yml
34 lines (25 loc) · 1.12 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This file originates from the work of Mateusz Pusz (https://github.com/mpusz/opt) where is licensed under MIT License.
version: '1.1.{build}'
image: Visual Studio 2017
environment:
matrix:
- GENERATOR : "Visual Studio 15 Win64"
platform:
- x64
configuration:
- Debug
- Release
before_build:
- cd "%APPVEYOR_BUILD_FOLDER%"
- mkdir _build && cd _build
- cmake -G"%GENERATOR%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% ..
build:
project: "%APPVEYOR_BUILD_FOLDER%\\_build\\%APPVEYOR_PROJECT_NAME%.sln"
test_script:
- cd "%APPVEYOR_BUILD_FOLDER%\\_build\\test\\%CONFIGURATION%"
- ".\\stringbuilder.c++14.test.exe -r xml -o %APPVEYOR_BUILD_FOLDER%\\_build\\test\\%CONFIGURATION%\\stringbuilder.c++14.test.xml"
- ".\\stringbuilder.c++17.test.exe -r xml -o %APPVEYOR_BUILD_FOLDER%\\_build\\test\\%CONFIGURATION%\\stringbuilder.c++17.test.xml"
- ".\\stringbuilder.c++17.benchmark.exe"
on_finish:
- cd "%APPVEYOR_BUILD_FOLDER%\\_build\\test\\%CONFIGURATION%"
- ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/junit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path stringbuilder.c++17.test.xml))