forked from cose-wg/COSE-C
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.appveyor.yml
39 lines (29 loc) · 856 Bytes
/
.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
platform:
- x64
image: Visual Studio 2019
configuration:
- Release
# - Debug suppress this for now
environment:
matrix:
- USE_CONTEXT: ON
USE_EMBEDTLS: OFF
- USE_CONTEXT: OFF
USE_EMBEDTLS: OFF
- USE_CONTEXT: OFF
USE_EMBEDTLS: ON
matrix:
fast_finish: true
install:
- git submodule update --init --recursive
- git clone --depth 1 git://github.com/cose-wg/Examples Examples
before_build:
- set PATH=c:\OpenSSL-v111-Win64\bin;%PATH%
- set OPENSSL_ROOT_DIR=c:\OpenSSL-v111-Win64
- cmake --version
- mkdir build
- cd build
- cmake -DCOSE_C_USE_CONTEXT=%USE_CONTEXT% -DCOSE_C_USE_MBEDTLS=%USE_EMBEDTLS% -DBUILD_SHARED_LIBS=OFF -DCOSE_C_INCLUDE_COUNTERSIGN=ON -DCOSE_C_INCLUDE_COUNTERSIGN1=ON -G "Visual Studio 16 2019" ..
build_script:
- msbuild cose-c.sln
- ctest -C %CONFIGURATION%