From 6f1aa72ad018034120c49c4d8f69808a72ac51dd Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Sat, 22 Mar 2025 00:15:10 -0700 Subject: [PATCH] Add build/test job for Windows --- .github/workflows/bld.yml | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/.github/workflows/bld.yml b/.github/workflows/bld.yml index 3511dc4..2627b79 100644 --- a/.github/workflows/bld.yml +++ b/.github/workflows/bld.yml @@ -23,7 +23,7 @@ jobs: strategy: matrix: java-version: [17, 21, 24] - kotlin-version: [1.9.25, 2.0.20, 2.1.10] + kotlin-version: [1.9.25, 2.0.20, 2.1.20] steps: - name: Checkout source repository @@ -56,3 +56,27 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + + build-bld-windows: + runs-on: windows-latest + + steps: + - name: Checkout source repository + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Set up JDK + uses: actions/setup-java@v4 + with: + distribution: "zulu" + java-version: "17" + + - name: Download dependencies + run: bld.bat download + + - name: Compile source + run: bld.bat compile + + - name: Run tests + run: bld.bat jacoco