-
Notifications
You must be signed in to change notification settings - Fork 7
32 lines (32 loc) · 924 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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