43 lines
979 B
YAML
43 lines
979 B
YAML
name: bld-ci
|
|
|
|
on: [push, pull_request, workflow_dispatch]
|
|
|
|
jobs:
|
|
build-bld-project:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
java-version: [17, 21, 22]
|
|
kotlin-version: [1.9.24, 2.0.0]
|
|
|
|
steps:
|
|
- name: Checkout source repository
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Set up JDK ${{ matrix.java-version }}
|
|
uses: actions/setup-java@v4
|
|
with:
|
|
distribution: "zulu"
|
|
java-version: ${{ matrix.java-version }}
|
|
|
|
- name: Download the examples dependencies
|
|
working-directory: examples
|
|
run: |
|
|
chmod +x bld
|
|
./bld download
|
|
|
|
- name: Run examples tests
|
|
working-directory: examples
|
|
run: ./bld compile test
|
|
|
|
- name: Grant execute permission for bld
|
|
run: chmod +x bld
|
|
|
|
- name: Download the dependencies
|
|
run: ./bld download
|
|
|
|
- name: Run tests
|
|
run: ./bld compile test
|