From 06c0a73924f1fd880a9b733958add0e4cfa4134d Mon Sep 17 00:00:00 2001 From: "Erik C. Thauvin" Date: Thu, 11 Jul 2024 10:21:07 -0700 Subject: [PATCH] Added Kotlin matrix to GitHub workflow --- .github/workflows/bld.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/bld.yml b/.github/workflows/bld.yml index c0ba763..7d224f6 100644 --- a/.github/workflows/bld.yml +++ b/.github/workflows/bld.yml @@ -2,6 +2,9 @@ name: bld-ci on: [push, pull_request, workflow_dispatch] +env: + KOTLIN_HOME: /usr/share/kotlinc + jobs: build-bld-project: runs-on: ubuntu-latest @@ -9,6 +12,7 @@ jobs: strategy: matrix: java-version: [17, 21, 22] + kotlin-version: [ 1.19.24, 2.0.0 ] steps: - name: Checkout source repository @@ -22,11 +26,8 @@ jobs: distribution: "zulu" java-version: ${{ matrix.java-version }} - - name: Grant execute permission for bld - run: chmod +x bld - - - name: Download the dependencies + - name: Download dependencies run: ./bld download - - name: Run tests with bld + - name: Run tests run: ./bld compile test