forked from cryostatio/cryostat-core
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (42 loc) · 926 Bytes
/
ci.yaml
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
name: CI build
on:
push:
branches:
- main
- v[0-9]+
- v[0-9]+.[0-9]+
- cryostat-v[0-9]+.[0-9]+
pull_request:
branches:
- main
- v[0-9]+
- v[0-9]+.[0-9]+
- cryostat-v[0-9]+.[0-9]+
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- uses: skjolber/maven-cache-github-action@v1
with:
step: restore
- run: mvn -B -U clean verify
- uses: skjolber/maven-cache-github-action@v1
with:
step: save
cryostat-test:
needs: [build]
permissions:
contents: read
packages: write
strategy:
matrix:
arch: [amd64, arm64]
uses: ./.github/workflows/cryostat-IT.yml
with:
build-arch: ${{ matrix.arch }}
skip-itests: ${{ matrix.arch != 'amd64' }}