forked from UniconLabs/simple-cas4-overlay-template
-
Notifications
You must be signed in to change notification settings - Fork 1k
35 lines (30 loc) · 928 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
33
34
name: Build
env:
JAVA_OPTS: "-Xms512m -Xmx6048m -Xss128m -XX:ReservedCodeCacheSize=512m -XX:+UseG1GC"
GRADLE_OPTS: "-Xms512m -Xmx6048m -Xss128m -XX:ReservedCodeCacheSize=512m -XX:+UseG1GC"
TERM: xterm-256color
on:
push:
branches: [ 7.0 ]
pull_request:
branches: [ 7.0 ]
concurrency:
group: "workflow = ${{ github.workflow }}, ref = ${{ github.event.ref }}"
cancel-in-progress: ${{ github.event_name == 'push' }}
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
jdk: [ 21 ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.jdk }}
distribution: 'corretto'
- name: Build with JDK ${{ matrix.jdk }} on ${{ matrix.os }}
run: ./gradlew build