-
Notifications
You must be signed in to change notification settings - Fork 1
39 lines (33 loc) · 893 Bytes
/
Copy pathci.yml
File metadata and controls
39 lines (33 loc) · 893 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: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
# each runner builds its own native lib via zig and tests against it:
# ubuntu-latest -> linux-x86_64, macos-14 -> osx-aarch64, macos-13 -> osx-x86_64
os: [ubuntu-latest, macos-14, macos-13]
steps:
- name: Checkout (with zstd submodule)
uses: actions/checkout@v4
with:
submodules: recursive
- name: Set up JDK 25
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: '25'
cache: maven
- name: Set up Zig
uses: mlugg/setup-zig@v1
with:
version: 0.16.0
- name: Build, test and verify
run: ./mvnw -B -ntp verify