-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitlab-ci.yml
73 lines (69 loc) · 2.57 KB
/
.gitlab-ci.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
62
63
64
65
66
67
68
69
70
71
72
73
variables:
ulterius_tag: usx
epiphansdk_tag: epi
epiphansdk_dir: C:/Program Files/Epiphan/epiphan_sdk-3.30.3.0007
epiphandrv32_dir: C:/Program Files (x86)/Epiphan/epiphan-usb-pci-drivers-windows-32bit-3.30.7.0008
epiphandrv64_dir: C:/Program Files/Epiphan/epiphan-usb-pci-drivers-windows-64bit-3.30.7.0008
zlib_root: C:/Program Files/zlib/zlib-1.2.3-lib
stages:
- build
build-against-ulterius:
stage: build
script:
- mkdir build-%ulterius_tag%
- cd build-%ulterius_tag%
- cmake -D USE_ULTERIUS:BOOL=ON ..
- cmake --build . --config Release
- dir
- dir Release\xono2l-%ulterius_tag%.dll
artifacts:
name: "%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
paths:
- build-%ulterius_tag%\Release\xono2l-%ulterius_tag%.dll
- build-%ulterius_tag%\Release\xono2l-%ulterius_tag%.lib
- build-%ulterius_tag%\Release\xono2l-%ulterius_tag%.exp
expire_in: 1 week
tags:
- gift-hopper
build-against-epiphan-sdk-32bit:
stage: build
variables:
arch_tag: 32bit
script:
- mkdir build-%epiphansdk_tag%-%arch_tag%
- cd build-%epiphansdk_tag%-%arch_tag%
- cmake -D ZLIB_ROOT="%zlib_root%" -D USE_EPIPHAN:BOOL=ON ..
- cmake --build . --config Release
- dir
- dir Release\xono2l-%epiphansdk_tag%-%arch_tag%.dll
- file.exe Release\xono2l-%epiphansdk_tag%-%arch_tag%.dll | grep 80386 & REM Should fail if 64-bit
artifacts:
name: "%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
paths:
- build-%epiphansdk_tag%-%arch_tag%\Release\xono2l-%epiphansdk_tag%-%arch_tag%.dll
- build-%epiphansdk_tag%-%arch_tag%\Release\xono2l-%epiphansdk_tag%-%arch_tag%.lib
- build-%epiphansdk_tag%-%arch_tag%\Release\xono2l-%epiphansdk_tag%-%arch_tag%.exp
expire_in: 1 week
tags:
- gift-hopper
build-against-epiphan-sdk-64bit:
stage: build
variables:
arch_tag: 64bit
script:
- mkdir build-%epiphansdk_tag%-%arch_tag%
- cd build-%epiphansdk_tag%-%arch_tag%
- cmake -A x64 -D ZLIB_ROOT="%zlib_root%" -D USE_EPIPHAN:BOOL=ON ..
- cmake --build . --config Release
- dir
- dir Release\xono2l-%epiphansdk_tag%-%arch_tag%.dll
- file.exe Release\xono2l-%epiphansdk_tag%-%arch_tag%.dll | grep x86-64 & REM Should fail if 32-bit
artifacts:
name: "%CI_JOB_NAME%-%CI_COMMIT_REF_NAME%"
paths:
- build-%epiphansdk_tag%-%arch_tag%\Release\xono2l-%epiphansdk_tag%-%arch_tag%.dll
- build-%epiphansdk_tag%-%arch_tag%\Release\xono2l-%epiphansdk_tag%-%arch_tag%.lib
- build-%epiphansdk_tag%-%arch_tag%\Release\xono2l-%epiphansdk_tag%-%arch_tag%.exp
expire_in: 1 week
tags:
- gift-hopper