-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (40 loc) · 1.36 KB
/
ci.yml
File metadata and controls
48 lines (40 loc) · 1.36 KB
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
46
47
48
name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
java-version: [ '25', '26' ]
steps:
- uses: actions/checkout@v6
- name: Set up Azul Zulu JDK ${{ matrix.java-version }}
uses: actions/setup-java@v5
with:
distribution: zulu
java-version: ${{ matrix.java-version }}
- name: Cache Maven repository
uses: actions/cache@v5
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
# vortex-jni 0.74.0 ships native libs for darwin-aarch64 + linux-aarch64
# + linux-amd64 only. No Windows binary, so the modules that pull vortex-jni
# (integration, performance) are skipped on Windows. Being the only Vortex
# impl that runs on Windows JVMs is one of vortex-java's selling points —
# see README "Who is this for".
- name: Build and test (Linux + macOS)
if: runner.os != 'Windows'
run: ./mvnw verify
- name: Build and test (Windows)
if: runner.os == 'Windows'
shell: bash
run: ./mvnw verify -pl '!integration,!performance'