-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (29 loc) · 868 Bytes
/
bld.yml
File metadata and controls
38 lines (29 loc) · 868 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
name: bld-ci
on: [ push, pull_request, workflow_dispatch ]
jobs:
build-bld-project:
strategy:
matrix:
java-version: [ 17, 21, 25 ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout source repository
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v5
with:
distribution: "zulu"
java-version: ${{ matrix.java-version }}
- name: Download dependencies
run: ./bld download
- name: Compile source code
run: ./bld compile
- name: Run tests
id: tests
run: ./bld test
- name: Run reporter
if: always() && steps.tests.outcome == 'failure'
run: ./bld reporter --all