-
Notifications
You must be signed in to change notification settings - Fork 1
/
appveyor.yml
61 lines (55 loc) · 1.41 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
49
50
51
52
53
54
55
56
57
58
59
60
61
image:
- macOS
- Visual Studio 2019
- Ubuntu
platform:
- x86
- x64
configuration: Release
matrix:
exclude:
- image: Ubuntu
platform: x86
- image: macOS
platform: x86
for:
- matrix:
only:
- image: Visual Studio 2019
platform: x64
environment:
ARCH: x64
ARTIFACT_PATH: 'RuntimeGraphicsInfoNative.dll'
after_build:
- move RuntimeGraphicsInfo.Plugin\Release\RuntimeGraphicsInfoNative.dll %ARTIFACT_PATH%
- matrix:
only:
- image: Visual Studio 2019
platform: x86
environment:
ARCH: Win32
ARTIFACT_PATH: 'RuntimeGraphicsInfoNative.dll'
after_build:
- move RuntimeGraphicsInfo.Plugin\Release\RuntimeGraphicsInfoNative.dll %ARTIFACT_PATH%
- matrix:
only:
- image: macOS
environment:
ARTIFACT_PATH: 'libRuntimeGraphicsInfoNative.dylib'
after_build:
- mv RuntimeGraphicsInfo.Plugin/libRuntimeGraphicsInfoNative.dylib $ARTIFACT_PATH
- matrix:
only:
- image: Ubuntu
environment:
ARTIFACT_PATH: 'libRuntimeGraphicsInfoNative.so'
after_build:
- mv RuntimeGraphicsInfo.Plugin/libRuntimeGraphicsInfoNative.so $ARTIFACT_PATH
before_build:
- cmd: cmake . -G "Visual Studio 16 2019" -A %ARCH%
- sh: cmake . -DCMAKE_BUILD_TYPE=Release
build_script:
- cmake --build . --config Release
artifacts:
- path: '$(ARTIFACT_PATH)'
name: Releases