From 155cd803011b88c5e5da4afc0a8e3708d10514f9 Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Tue, 25 Mar 2025 21:27:57 -0700 Subject: [PATCH] Add OS matrix for Ubuntu, Windows and macOS --- .github/workflows/bld.yml | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bld.yml b/.github/workflows/bld.yml index 96681c0..79cd263 100644 --- a/.github/workflows/bld.yml +++ b/.github/workflows/bld.yml @@ -1,14 +1,16 @@ name: bld-ci -on: [push, pull_request, workflow_dispatch] +on: [ push, pull_request, workflow_dispatch ] jobs: - build-gradle-project: - runs-on: ubuntu-latest - + build-bld-project: strategy: 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: - name: Checkout source repository @@ -22,5 +24,15 @@ jobs: distribution: "zulu" java-version: ${{ matrix.java-version }} + - name: Download dependencies [examples] + working-directory: examples + run: ./bld download + - 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 \ No newline at end of file