-
Notifications
You must be signed in to change notification settings - Fork 2
78 lines (59 loc) · 2.02 KB
/
bld.yml
File metadata and controls
78 lines (59 loc) · 2.02 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
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 [3.5.x example]
working-directory: examples/3.5.x
run: ./bld download
- name: Compile source [3.5.x example]
working-directory: examples/3.5.x
run: ./bld compile
- name: Run tests [3.5.x example]
working-directory: examples/3.5.x
run: ./bld test
- name: Compile and create the JAR [3.5.x example]
working-directory: examples/3.5.x
run: ./bld bootjar
- name: Compile and create the WAR [3.5.x example]
working-directory: examples/3.5.x
run: ./bld bootwar
- name: Download dependencies [4.0.x example]
working-directory: examples/4.0.x
run: ./bld download
- name: Compile source [4.0.x example]
working-directory: examples/4.0.x
run: ./bld compile
- name: Run tests [4.0.x example]
working-directory: examples/4.0.x
run: ./bld test
- name: Compile and create the JAR [4.0.x example]
working-directory: examples/4.0.x
run: ./bld bootjar
- name: Compile and create the WAR [4.0.x example]
working-directory: examples/4.0.x
run: ./bld bootwar
- 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