forked from moonlight-stream/moonlight-common-c
-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
48 lines (44 loc) · 1.44 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
47
48
clone_depth: 1
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CMAKE_ARGS: -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -A Win32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
CMAKE_ARGS: -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -A x64
- APPVEYOR_BUILD_WORKER_IMAGE: macOS
BUILD_TARGET: macos
CMAKE_ARGS: -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
CC: clang
CXX: clang++
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
CC: gcc
CXX: g++
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
CC: clang
CXX: clang++
CMAKE_ARGS: -DUSE_MBEDTLS=ON
PREBUILD_CMD: sudo apt install -y libmbedtls-dev
- APPVEYOR_BUILD_WORKER_IMAGE: Ubuntu
CC: gcc
CXX: g++
CMAKE_ARGS: -DUSE_MBEDTLS=ON
PREBUILD_CMD: sudo apt install -y libmbedtls-dev
before_build:
- 'git submodule update --init --recursive'
- sh: 'eval "$PREBUILD_CMD"'
build_script:
- 'mkdir build_debug'
- 'cd build_debug'
- sh: 'cmake $CMAKE_ARGS -DCMAKE_BUILD_TYPE=Debug ..'
- cmd: 'cmake %CMAKE_ARGS% -DCMAKE_BUILD_TYPE=Debug ..'
- sh: 'cmake --build .'
- cmd: 'cmake --build . --config Debug'
- 'cd ..'
- 'mkdir build_release'
- 'cd build_release'
- sh: 'cmake $CMAKE_ARGS -DCMAKE_BUILD_TYPE=Release ..'
- cmd: 'cmake %CMAKE_ARGS% -DCMAKE_BUILD_TYPE=Release ..'
- sh: 'cmake --build .'
- cmd: 'cmake --build . --config Release'
deploy: off