Skip to content

Commit dff81ff

Browse files
committed
Add OS matrix with Ubuntu, Windows and macOS
1 parent 5926878 commit dff81ff

File tree

1 file changed

+15
-8
lines changed

1 file changed

+15
-8
lines changed

.github/workflows/bld.yml

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
name: bld-ci
22

3-
on: [push, pull_request, workflow_dispatch]
4-
5-
env:
6-
KOTLIN_HOME: /usr/share/kotlinc
3+
on: [ push, pull_request, workflow_dispatch ]
74

85
jobs:
96
build-bld-project:
10-
runs-on: ubuntu-latest
11-
127
strategy:
138
matrix:
14-
java-version: [17, 21, 24]
9+
java-version: [ 17, 21, 24 ]
10+
kotlin-version: [ 1.9.25, 2.0.21, 2.1.20 ]
11+
os: [ ubuntu-latest, windows-latest, macos-latest ]
12+
13+
runs-on: ${{ matrix.os }}
1514

1615
steps:
1716
- name: Checkout source repository
@@ -25,8 +24,16 @@ jobs:
2524
distribution: "zulu"
2625
java-version: ${{ matrix.java-version }}
2726

27+
- name: Download dependencies [examples]
28+
working-directory: examples
29+
run: ./bld download
30+
31+
- name: Compile and run [examples]
32+
working-directory: examples
33+
run: ./bld compile run
34+
2835
- name: Download dependencies
2936
run: ./bld download
3037

3138
- name: Run tests
32-
run: ./bld compile test
39+
run: ./bld compile test

0 commit comments

Comments
 (0)