-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (33 loc) · 913 Bytes
/
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
name: Testing with Java 17 and Java 21 on Linux
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
test_ubuntu:
runs-on: ubuntu-latest
strategy:
matrix:
jdk: [ 17, 21 ]
steps:
- uses: actions/checkout@v3
- run: sudo apt install vulkan-validationlayers
- run: sudo apt install mesa-vulkan-drivers
- name: Set up JDK ${{ matrix.jdk }}
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
- name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: build
- name: Store test results
if: failure()
uses: actions/upload-artifact@v3
with:
name: test-results
path: build/reports