Add workflow for testing the examples on Windows

This commit is contained in:
Erik C. Thauvin 2025-03-23 03:00:00 -07:00
parent b0d6a3ac3b
commit a2a5f284b6
Signed by: erik
GPG key ID: 776702A6A2DA330E

View file

@ -6,7 +6,7 @@ env:
KOTLIN_HOME: /usr/share/kotlinc
jobs:
build-bld-project:
build-bld-linux:
runs-on: ubuntu-latest
strategy:
@ -39,3 +39,26 @@ jobs:
- name: Run tests
run: ./bld compile test
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 [examples]
working-directory: examples
run: ./bld download
- name: Run tests [examples]
working-directory: examples
run: ./bld compile test