-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (27 loc) · 901 Bytes
/
ci.yml
File metadata and controls
32 lines (27 loc) · 901 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
name: CI
on:
push:
branches: ["**"]
pull_request:
branches: ["**"]
jobs:
build:
name: Build and test (JDK 21)
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
distribution: temurin
java-version: "21"
cache: maven
- name: Build and run unit tests
run: mvn -B test
- name: Verify implementation against the corpus (conformance)
# Runs the conformance suite that drives all 74 corpus vectors through
# the validation pipeline and asserts each verdict, diagnostic code, and
# structured details against corpus.json. This is the code-vs-corpus
# check: the build fails if the implementation diverges from any vector.
run: mvn -B test -Dtest=ConformanceTest