diff --git a/.github/workflows/bld.yml b/.github/workflows/bld.yml index f959c28..48ef4e1 100644 --- a/.github/workflows/bld.yml +++ b/.github/workflows/bld.yml @@ -136,3 +136,32 @@ jobs: - name: Run tests run: >- ./bld clean download compile test + + build-windows: + runs-on: windows-latest + + strategy: + matrix: + java-version: [ 17, 20 ] + + steps: + - name: Configure git line endings + run: git config --global core.autocrlf input + + - name: Checkout source repository + uses: actions/checkout@v4 + with: + clean: true + submodules: 'true' + fetch-depth: 0 + + - name: Set up JDK ${{ matrix.java-version }} + uses: actions/setup-java@v3 + with: + distribution: 'corretto' + java-version: ${{ matrix.java-version }} + check-latest: true + + - name: Run tests + run: >- + .\bld.bat clean download compile test