-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (34 loc) · 1.02 KB
/
main.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
name: RITE Main Workflow
# Runs whenever the main branch is changed (except for tags)
on:
push:
branches: [ main, march-release-v3 ]
tags-ignore: [ '*' ]
workflow_dispatch:
# Runs main workflow and uploads build artifacts:
# - Builds RITE source and runs unit tests
jobs:
main:
container:
image: maven:${{ matrix.maven-version }}
volumes:
- /usr/bin/docker:/usr/bin/docker
- /var/run/docker.sock:/var/run/docker.sock
runs-on: ${{ matrix.os }}
strategy:
matrix:
distribution: [ temurin ]
java-version: [ 17 ]
maven-version: [ 3.9.5 ]
os: [ ubuntu-22.04 ]
steps:
- name: Check out RITE source
uses: actions/[email protected]
- name: Set up Java and Maven
uses: actions/[email protected]
with:
cache: maven
distribution: ${{ matrix.distribution }}
java-version: ${{ matrix.java-version }}
- name: Build RITE source
run: mvn -B package -f tools/rack/pom.xml -Dtycho.localArtifacts=ignore