forked from primefaces/primefaces
-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (34 loc) · 1.21 KB
/
nightly-safari.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
name: IT Safari
on:
schedule:
- cron: '0 7 * * *'
permissions:
contents: read
jobs:
nightly:
if: github.repository == 'primefaces/primefaces' && github.ref == 'refs/heads/master'
runs-on: macos-latest
name: Java ${{ matrix.java }}, Profile ${{ matrix.profile }}
strategy:
matrix:
java: [11]
profile: [ 'headless,safari,csp,theme-nova,mojarra-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 }}
- name: Cache Maven packages
uses: actions/cache@v4
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Log github.ref
run: echo "${{ github.ref }}"
- name: Build
run: mvn clean install -Pquick -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --batch-mode --show-version
- name: Integration Tests
run: mvn -B -V clean install -fprimefaces-integration-tests/pom.xml -Pintegration-tests,${{ matrix.profile }}