Skip to content

Commit 1980282

Browse files
committed
ci: run unit/integ/example/vector tests against all JDKs
Signed-off-by: texastony <[email protected]>
1 parent 16070bf commit 1980282

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

buildspec.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version: 0.2
22

3+
# TODO: Replace/Augment build-graph with build-matrix
4+
# Note: It's possible that 9 builds will be running concurrently with the current arrangement
5+
36
batch:
47
fast-fail: false
58
build-graph:
@@ -8,18 +11,42 @@ batch:
811
env:
912
compute-type: BUILD_GENERAL1_MEDIUM
1013
image: aws/codebuild/amazonlinux2-x86_64-standard:3.0
14+
######### Start Vector tests #########
15+
- identifier: vectors_ci_openjdk8
16+
buildspec: codebuild/ci/vectors-ci.yml
17+
env:
18+
compute-type: BUILD_GENERAL1_LARGE
19+
variables:
20+
JAVA_ENV_VERSION: openjdk8
21+
image: aws/codebuild/standard:3.0
1122
- identifier: vectors_ci_openjdk11
1223
buildspec: codebuild/ci/vectors-ci.yml
1324
env:
1425
compute-type: BUILD_GENERAL1_LARGE
1526
variables:
1627
JAVA_ENV_VERSION: openjdk11
1728
image: aws/codebuild/standard:3.0
29+
- identifier: vectors_ci_corretto8
30+
buildspec: codebuild/ci/vectors-ci.yml
31+
env:
32+
compute-type: BUILD_GENERAL1_LARGE
33+
variables:
34+
JAVA_ENV_VERSION: corretto8
35+
image: aws/codebuild/amazonlinux2-x86_64-standard:3.0
36+
- identifier: vectors_ci_corretto11
37+
buildspec: codebuild/ci/vectors-ci.yml
38+
env:
39+
compute-type: BUILD_GENERAL1_LARGE
40+
variables:
41+
JAVA_ENV_VERSION: corretto11
42+
image: aws/codebuild/amazonlinux2-x86_64-standard:3.0
43+
######### End Vector tests #########
1844
- identifier: release_ci
1945
buildspec: codebuild/ci/release-ci.yml
2046
env:
2147
compute-type: BUILD_GENERAL1_LARGE
2248
image: aws/codebuild/standard:3.0
49+
######### Start JAR Smoke tests #########
2350
- identifier: validate_ci_openjdk8
2451
depend-on:
2552
- release_ci
@@ -59,3 +86,4 @@ batch:
5986
JAVA_ENV_VERSION: corretto11
6087
JAVA_NUMERIC_VERSION: 11
6188
image: aws/codebuild/amazonlinux2-x86_64-standard:3.0
89+
######### End JAR Smoke tests #########

codebuild/ci/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ phases:
77
java: corretto11
88
build:
99
commands:
10-
- mvn -T 4 com.coveo:fmt-maven-plugin:check
10+
- mvn -T 4 -ntp com.coveo:fmt-maven-plugin:check
1111
- ./util/test-conditions.sh

0 commit comments

Comments
 (0)