-
Notifications
You must be signed in to change notification settings - Fork 11
/
.gitlab-ci.yml
56 lines (49 loc) · 1.4 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
# https://docs.gitlab.com/ce/ci/yaml/
.build:
tags: [ x64, linux, docker ]
image:
name: objectboxio/buildenv-generator-ubuntu:2024-02-26
pull_policy: [always, if-not-present]
# Available go versions in objectboxio/buildenv-generator-ubuntu:2024-02-26:
#
# Version | Location (GOROOT) | Notes
# ------- | --------------------- | -------------------------------------------------
# 1.18.1 | /usr/lib/go-1.18 | (Ubuntu 22.04 package)
# 1.22.0 | /usr/local/go1.22 | Manual installed version (default first on PATH)
# 1.19.13 | /root/sdk/go1.19.13 | Additional version installed via go install
#
bt:linux-x64:go1.18:
extends: [ .build ]
script:
- export PATH=/usr/lib/go-1.18/bin:$PATH
- make info
- make
- make test-depend
- make test
bt:linux-x64:go1.19:
extends: [ .build ]
script:
- export PATH=/root/sdk/go1.19.13/bin:$PATH
- make info
- make
- make test-depend
- make test
bt:linux-x64:go1.22:
extends: [ .build ]
script:
- make info
- make
- make test-depend
- make test
bt:mac-x64:
tags: [ mac, x64 ]
script:
- make info
- make
- make test-depend
- make test
# TODO: Prepare CI/Windows to build and test this project; Prerequisites: MinGW Make
t:cmake:win-x64:
tags: [ windows ]
script:
- cd test/integration/cmake/projects && cmake -DMULTI="Visual Studio 17 2022" -P test-cmake-generators.cmake