-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 933 Bytes
/
java-ea-maven.yml
File metadata and controls
39 lines (32 loc) · 933 Bytes
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
name: Java-EA with Maven
on:
push:
branches:
- develop
workflow_dispatch:
env:
MAVEN_ARGS: "-B -ntp"
jobs:
build-and-test-job:
strategy:
fail-fast: false
matrix:
java: [ 25 ]
os:
- ubuntu-latest # Linux x64
- ubuntu-24.04-arm # Linux arm64
- macos-latest # macOS arm64
- windows-11-arm # Windows arm64
name: JDK${{ matrix.java }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- name: Checkout and Setup Maven
uses: s4u/setup-maven-action@v1.19.0
with:
checkout-submodules: true
checkout-fetch-depth: 0
java-version: ${{ matrix.java }}
- name: Pre-download dependencies with Maven
run: mvn -U dependency:go-offline
- name: Build and (headless) test with Maven
run: ${{ runner.os == 'Linux' && 'xvfb-run' || '' }} mvn install