Add build/test job for Windows
This commit is contained in:
parent
45f602fbe2
commit
6f1aa72ad0
1 changed files with 25 additions and 1 deletions
26
.github/workflows/bld.yml
vendored
26
.github/workflows/bld.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
java-version: [17, 21, 24]
|
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:
|
steps:
|
||||||
- name: Checkout source repository
|
- name: Checkout source repository
|
||||||
|
@ -56,3 +56,27 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
SONAR_TOKEN: ${{ secrets.SONAR_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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue