-
Notifications
You must be signed in to change notification settings - Fork 5
57 lines (48 loc) · 1.38 KB
/
gradle.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: VMF CI
on: [push, pull_request]
jobs:
build-linux:
strategy:
matrix:
jdkVersion: [11, 17, 21]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.jdkVersion }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.jdkVersion }}
architecture: x64 # (x64 or x86)
distribution: temurin
- name: Build and test with Gradle/JUnit
run: sh ./build-and-test-all.sh
build-macos-latest:
strategy:
matrix:
jdkVersion: [11]
runs-on: [macos-latest]
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.jdkVersion }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.jdkVersion }}
distribution: temurin
architecture: x64 # (x64 or x86)
- name: Build and test with Gradle/JUnit
run: sh ./build-and-test-all.sh
build-windows-latest:
strategy:
matrix:
jdkVersion: [11, 17, 21]
runs-on: [windows-latest]
steps:
- uses: actions/checkout@v3
- name: Set up JDK ${{ matrix.jdkVersion }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.jdkVersion }}
distribution: temurin
architecture: x64 # (x64 or x86)
- name: Build and test with Gradle/JUnit
run: ./build-and-test-all.bat