-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
55 lines (50 loc) · 1.08 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
variables:
GIT_SUBMODULE_STRATEGY: normal
GIT_CLONE_PATH: $CI_BUILDS_DIR\retro-ml
stages:
- build-dependencies
- build
- test
build-sharpneat:
stage: build-dependencies
artifacts:
paths:
- .\Submodules\SharpNEAT\src\SharpNeat\bin\Release\net6.0\SharpNeat.dll
script:
- cd .\Submodules\SharpNEAT\src\
- dotnet build --configuration Release
- cd .\..\..\..\
build-emu:
stage: build-dependencies
artifacts:
paths:
- .\Submodules\BizHawk\output\
script:
- cd .\Submodules\BizHawk\Dist\
- .\QuickTestBuildAndPackage.bat
- cd .\..\..\..\
build-app:
stage: build
dependencies:
- build-emu
- build-sharpneat
artifacts:
name: retro-ml-build
paths:
- .\Application\bin\Release\net6.0\
script:
- cd .\Application\
- dotnet build --configuration Release
- cd .\..\
test-app:
stage: test
allow_failure:
exit_codes: 1
artifacts:
name: test-results
paths:
- .\Retro_ML_TEST\TestResults\
script:
- cd .\Retro_ML_TEST\
- dotnet test --logger trx
- cd .\..\