Convert parameters from String to File whenever applicable #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: bld-ci | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build-bld-project: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java-version: [17, 21, 22] | |
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: Build examples documentation | |
working-directory: examples | |
run: | | |
./bld javadoc | |
./bld dokka-html | |
./bld dokka-gfm | |
./bld dokka-jekyll | |
- name: Grant execute permission for bld | |
run: chmod +x bld | |
- name: Download the dependencies | |
run: ./bld download | |
- name: Run tests | |
run: ./bld compile test |