Add OS matrix for Ubuntu, Windows and macOS

This commit is contained in:
Erik C. Thauvin 2025-03-25 21:27:57 -07:00
parent 9dd02bcecc
commit 155cd80301
Signed by: erik
GPG key ID: 776702A6A2DA330E

View file

@ -3,12 +3,14 @@ name: bld-ci
on: [ push, pull_request, workflow_dispatch ] on: [ push, pull_request, workflow_dispatch ]
jobs: jobs:
build-gradle-project: build-bld-project:
runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
java-version: [ 17, 21, 24 ] java-version: [ 17, 21, 24 ]
kotlin-version: [ 1.9.25, 2.0.21, 2.1.20 ]
os: [ ubuntu-latest, windows-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps: steps:
- name: Checkout source repository - name: Checkout source repository
@ -22,5 +24,15 @@ jobs:
distribution: "zulu" distribution: "zulu"
java-version: ${{ matrix.java-version }} java-version: ${{ matrix.java-version }}
- name: Download dependencies [examples]
working-directory: examples
run: ./bld download
- name: Run tests - name: Run tests
run: ./bld download compile test run: ./bld compile test
- name: Compile and create the JAR
run: ./bld compile bootjar
- name: Compile and create the WAR
run: ./bld compile bootwar