forked from clojure/clojure
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (26 loc) · 702 Bytes
/
Copy pathtest.yml
File metadata and controls
29 lines (26 loc) · 702 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
name: Test
permissions:
contents: read
on:
push:
workflow_dispatch:
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] # macOS-latest, windows-latest]
java-version: ["8", "11", "17", "21", "25"]
distribution: ["temurin", "corretto"]
profile: ["test-direct", "test-no-direct"]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: ${{ matrix.distribution }}
cache: 'maven'
- name: Build with Maven
run: mvn -ntp -B -P${{ matrix.profile }} clean test