forked from aws/serverless-java-container
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontinuous-integration-workflow.yml
More file actions
83 lines (77 loc) · 3.35 KB
/
continuous-integration-workflow.yml
File metadata and controls
83 lines (77 loc) · 3.35 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
name: Continuous Integration
on:
push:
pull_request:
branches:
- master
jobs:
build_core:
name: Build and test core
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build latest
run: mvn -q clean install
working-directory: ./aws-serverless-java-container-core
build_jersey:
name: Build and test Jersey
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build latest
run: ./gha_build.sh jersey true true
- name: Set up JDK 8
uses: actions/setup-java@v1
with:
java-version: 8
- name: Build Jersey 2.27
run: ./gha_build.sh jersey false false -Djersey.version=2.27
- name: Build Jersey 2.28
run: ./gha_build.sh jersey false false -Djersey.version=2.28
- name: Build Jersey 2.29
run: ./gha_build.sh jersey false false -Djersey.version=2.29.1
build_spark:
name: Build and test Spark
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build latest
run: ./gha_build.sh spark true true
build_spring:
name: Build and test Spring & SpringBoot
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build latest
# we reduce the minCoverage for this run because it will skip the SpringBoot 1.5 tests since they are no longer compatible with
# Spring core 5.2 and above. SpringBoot 1.5 is deprecated
run: ./gha_build.sh spring true true -Djacoco.minCoverage=0.4
- name: Build Spring 5.0
run: ./gha_build.sh spring false false -Dspring.version=5.0.20.RELEASE -Dspring-security.version=5.0.19.RELEASE -Ddependency-check.skip=true
- name: Build Spring 5.1
run: ./gha_build.sh spring false false -Dspring.version=5.1.20.RELEASE -Dspring-security.version=5.1.13.RELEASE -Ddependency-check.skip=true
- name: Build Spring 5.2
run: ./gha_build.sh spring false false -Dspring.version=5.2.21.RELEASE -Dspring-security.version=5.2.15.RELEASE -Ddependency-check.skip=true
build_springboot2:
name: Build and test SpringBoot 2
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build latest
run: ./gha_build.sh springboot2 true true
# https://github.com/spring-projects/spring-boot/wiki/Supported-Versions
- name: Build Spring Boot 2.2
run: ./gha_build.sh springboot2 false false -Dspringboot.version=2.2.13.RELEASE -Dspring.version=5.2.15.RELEASE -Dspringsecurity.version=5.2.8.RELEASE -Ddependency-check.skip=true
- name: Build Spring Boot 2.3
run: ./gha_build.sh springboot2 false false -Dspringboot.version=2.3.12.RELEASE -Dspring.version=5.2.15.RELEASE -Dspringsecurity.version=5.3.9.RELEASE -Ddependency-check.skip=true
- name: Build Spring Boot 2.4
run: ./gha_build.sh springboot2 false false -Dspringboot.version=2.4.13 -Dspring.version=5.3.13 -Dspringsecurity.version=5.4.9 -Ddependency-check.skip=true
- name: Build Spring Boot 2.5
run: ./gha_build.sh springboot2 false false -Dspringboot.version=2.5.14 -Dspring.version=5.3.20 -Dspringsecurity.version=5.5.8 -Ddependency-check.skip=true
build_struts2:
name: Build and test Struts
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build latest
run: ./gha_build.sh struts true true