-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.appveyor.yml
46 lines (39 loc) · 1.08 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
35
36
37
38
39
40
41
42
43
44
45
46
platform:
#- x86
- x64
configuration:
- Debug
- Release
environment:
matrix:
-
job_name: Visual Studio 2019
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
for:
# Visual studio
- matrix:
only:
- job_name: Visual Studio 2019
clone_folder: c:/projects/imagecodec
init:
- cmd: |-
set arch=
echo Platform is %PLATFORM%
echo %arch%
echo %APPVEYOR_BUILD_WORKER_IMAGE%
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2019" ( set generator="Visual Studio 16 2019" )
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2019" ( set cmake_architecture=%PLATFORM%)
echo %generator%
before_build:
- cmd: |-
c:
cd c:/projects/imagecodec
git submodule update --init --recursive
mkdir build
cd build
cmake --version
cmake .. -G "Visual Studio 16 2019" -A %cmake_architecture%
build:
project: c:/projects/imagecodec/build/ImageCodec.sln
verbosity: minimal
parallel: true