1
+ # https://docs.gitlab.com/ci/yaml/
2
+
1
3
# Default image for linux builds
2
4
# Using core instead of base to get access to ASAN from clang.
3
- image : objectboxio/buildenv-core:2023-07-28 # Includes JDK 17.0.8
5
+ image : objectboxio/buildenv-core:2023-07-28
4
6
5
7
# Assumes these environment variables are configured in GitLab CI/CD Settings:
6
8
# - OBX_READ_PACKAGES_TOKEN
47
49
stage : test
48
50
tags :
49
51
- docker
50
- - linux # Select Docker host that can run the used Linux image
52
+ - linux
51
53
- x64
52
54
variables :
53
55
# Image defaults to POSIX (ASCII), set a compatible locale so UTF-8 tests that interact with the file system work.
@@ -97,17 +99,17 @@ test-macos:
97
99
extends : .test-template
98
100
needs : ["test"]
99
101
tags :
102
+ - jdk
100
103
- mac
101
104
- x64
102
- - jdk
103
105
script : ./gradlew $GITLAB_REPO_ARGS $VERSION_ARGS clean build
104
106
105
107
# Address sanitizer is only available on Linux runners (see script).
106
108
.test-asan-template :
107
109
extends : .test-template
108
110
tags :
109
111
- docker
110
- - linux # Select Docker host that can run the used Linux image
112
+ - linux
111
113
- x64
112
114
variables :
113
115
# Image defaults to POSIX (ASCII), set a compatible locale so UTF-8 tests that interact with the file system work.
@@ -150,7 +152,7 @@ publish-maven-internal:
150
152
stage : publish-maven-internal
151
153
tags :
152
154
- docker
153
- - linux # Select Docker host that can run the used Linux image
155
+ - linux
154
156
- x64
155
157
rules :
156
158
# Not for main branch, doing so may duplicate release artifacts (uploaded from publish branch)
@@ -172,7 +174,7 @@ publish-maven-central:
172
174
stage : publish-maven-central
173
175
tags :
174
176
- docker
175
- - linux # Select Docker host that can run the used Linux image
177
+ - linux
176
178
- x64
177
179
rules :
178
180
# Only on publish branch, only if no previous stages failed
@@ -193,7 +195,7 @@ package-api-docs:
193
195
stage : package-api-docs
194
196
tags :
195
197
- docker
196
- - linux # Select Docker host that can run the used Linux image
198
+ - linux
197
199
- x64
198
200
rules :
199
201
# Only on publish branch, only if no previous stages failed
0 commit comments