forked from primefaces/primefaces
-
Notifications
You must be signed in to change notification settings - Fork 0
96 lines (88 loc) · 3.51 KB
/
build.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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
name: CI
on: [push, pull_request, workflow_dispatch]
env:
MAVEN_OPTS: >-
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
jobs:
build:
runs-on: ubuntu-latest
if: github.repository == 'primefaces/primefaces'
name: Build
strategy:
fail-fast: false
matrix:
java: [11]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build
run: mvn clean install -T1C -Pjsdoc,minify --batch-mode --show-version
integration-tests-22:
runs-on: ubuntu-latest
name: Integration Tests (Java ${{ matrix.java }} - ${{ matrix.facesimpl }})
strategy:
fail-fast: false
matrix:
java: [8]
facesimpl: [ 'myfaces-2.2' ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build
run: mvn clean install -pl -primefaces-integration-tests-jakarta -T1C -DskipTests -Dcheckstyle.skip -Djsdoc.skip.typedoc=true -Dmaven.javadoc.skip=true --batch-mode --show-version
- name: Integration Tests (serial)
run: mvn -B -V clean install -fprimefaces-integration-tests/pom.xml -Pintegration-tests,headless,chrome-jsf22,theme-saga,csp,${{ matrix.facesimpl }}
integration-tests-23:
runs-on: ubuntu-latest
name: Integration Tests (Java ${{ matrix.java }} - ${{ matrix.facesimpl }})
strategy:
fail-fast: false
matrix:
java: [8, 20]
facesimpl: [ 'mojarra-2.3', 'myfaces-2.3']
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build
run: mvn clean install -pl -primefaces-integration-tests-jakarta -T1C -DskipTests -Dcheckstyle.skip -Djsdoc.skip.typedoc=true -Dmaven.javadoc.skip=true --batch-mode --show-version
- name: Integration Tests (serial)
if: matrix.java == 8
run: mvn -B -V clean install -fprimefaces-integration-tests/pom.xml -Pintegration-tests,headless,chrome,theme-saga,csp,${{ matrix.facesimpl }}
- name: Integration Tests (parallel)
if: matrix.java != 8
run: mvn -B -V clean install -fprimefaces-integration-tests/pom.xml -Pintegration-tests,parallel-execution,headless,chrome,theme-saga,csp,${{ matrix.facesimpl }}
integration-tests-40:
runs-on: ubuntu-latest
name: Integration Tests (Java ${{ matrix.java }} - ${{ matrix.facesimpl }})
strategy:
fail-fast: false
matrix:
java: [20]
facesimpl: [ 'mojarra-4.0', 'myfaces-4.0' ]
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: 'maven'
- name: Build
run: mvn clean install -T1C -DskipTests -Dcheckstyle.skip -Djsdoc.skip.typedoc=true -Dmaven.javadoc.skip=true --batch-mode --show-version
- name: Integration Tests (parallel)
run: mvn -B -V clean install -fprimefaces-integration-tests-jakarta/pom.xml -Pintegration-tests,parallel-execution,headless,chrome,theme-saga,csp,${{ matrix.facesimpl }}