-
Notifications
You must be signed in to change notification settings - Fork 25
/
.gitlab-ci.yml
62 lines (58 loc) · 1.48 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
variables:
PackageName: AMDRenderPipelineShaderSDK
GIT_SUBMODULE_STRATEGY: normal
stages:
- build
- test
- deploy
build:
tags:
- windows
- amd64
- rps
stage: build
script:
- 'del /q ".\external\catch2\scripts\updateDocumentToC.py"'
- 'cmake -S ./ -B ./build -G "Visual Studio 16 2019" -A x64 -DBUILD_INSTALLER=TRUE -DRpsEnableVulkanTests=OFF'
- 'cmake --build ./build --config Debug --parallel'
- 'cmake --build ./build --config Release --parallel'
artifacts:
paths:
- build
- docs
exclude:
- build/**/CMakeFiles
- build/**/*.ilk
- build/**/*.obj
build-vs2017:
tags:
- windows
- amd64
stage: build
script:
- 'del /q ".\external\catch2\scripts\updateDocumentToC.py"'
- 'cmake -S ./ -B ./build_vs2017 -G "Visual Studio 15 2017" -A x64 -DRpsEnableVulkanTests=ON'
- 'cmake --build ./build_vs2017 --config Debug --parallel'
- 'cmake --build ./build_vs2017 --config Release --parallel'
artifacts:
paths:
- build_vs2017
- docs
exclude:
- build_vs2017/**/CMakeFiles
- build_vs2017/**/*.ilk
- build_vs2017/**/*.obj
test:
tags:
- windows
- amd64
- rps
stage: test
script:
- 'del /q ".\external\catch2\scripts\updateDocumentToC.py"'
- cd build
- 'ctest -C Release -V --output-on-failure --output-log rpsTestLog.txt --parallel 8'
artifacts:
name: "%PackageName%-%CI_COMMIT_TAG%-%CI_COMMIT_REF_NAME%-%CI_COMMIT_SHORT_SHA%"
paths:
- rpsTestLog.txt