Skip to content

Improve error handling of the translucent window sample #53

Improve error handling of the translucent window sample

Improve error handling of the translucent window sample #53

Workflow file for this run

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