-
Notifications
You must be signed in to change notification settings - Fork 5
/
.gitlab-ci.yml
55 lines (50 loc) · 1.01 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
image: $CI_REGISTRY_IMAGE
stages:
- test
- build
format:
stage: test
before_script:
- apk -U upgrade
- apk --no-cache add curl
- apk add go
- export PATH=$PATH:~/go/bin
script:
- go fmt $(go list ./... | grep -v /vendor/)
- go vet $(go list ./... | grep -v /vendor/)
- go test -race $(go list ./... | grep -v /vendor/)
BuildDesktop:
stage: build
before_script:
- apk -U upgrade
- apk --no-cache add curl
- apk add go
- export PATH=$PATH:~/go/bin
script:
- chmod +x build_desktop.sh
- ./build_desktop.sh
artifacts:
paths:
- ./build
BuildAndroidLibrary:
stage: build
before_script:
- apk -U upgrade
- apk --no-cache add curl
- apk add go
- export PATH=$PATH:~/go/bin
- extras ndk -n 21.3.6528147
script:
- ./build_android.sh
artifacts:
paths:
- ./build
BuildiOSFramework:
stage: build
tags: [ macos11qt6 ]
script:
- chmod +x build_ios.sh
- ./build_ios.sh
artifacts:
paths:
- ./build