Merge pull request #747 from amitjoy/feature/746 #1956
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: CI Build | |
on: | |
push: | |
pull_request: | |
env: | |
LC_ALL: en_US.UTF-8 | |
jobs: | |
build: | |
name: Build | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
matrix: | |
config: | |
- os: ubuntu-latest | |
- os: macos-latest | |
- os: windows-latest | |
steps: | |
- name: Git Checkout | |
uses: actions/checkout@v3 | |
- name: Gradle Wrapper Validation | |
uses: gradle/wrapper-validation-action@v1 | |
- name: Set up Java 17 with JavaFX | |
uses: actions/setup-java@v1 | |
with: | |
java-version: '21' | |
java-package: jdk+fx | |
- name: Build Workspace using Gradle | |
run: ./gradlew build --max-workers=5 --parallel | |
- name: Resolve Product | |
run: ./gradlew :com.osgifx.console.product:resolve.osgifx | |
- name: Build Executable JAR | |
run: ./gradlew :com.osgifx.console.product:export.osgifx |