Consume the Wayland JavaFX fork instead of patching OpenJFX in the la… #33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Launcher validation | |
| on: | |
| push: | |
| paths: | |
| - 'launcher/**' | |
| - '.github/workflows/launcher-validation.yml' | |
| pull_request: | |
| paths: | |
| - 'launcher/**' | |
| - '.github/workflows/launcher-validation.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: launcher-validation-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| validate: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| defaults: | |
| run: | |
| working-directory: launcher | |
| shell: bash | |
| steps: | |
| - uses: actions/checkout@v7.0.1 | |
| - uses: actions/setup-java@v6.0.1 | |
| with: | |
| distribution: temurin | |
| java-version: 25 | |
| check-latest: true | |
| - uses: gradle/actions/setup-gradle@v6.3.0 | |
| - name: Install Linux display dependencies | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo bash scripts/install_linux_runtime_dependencies.sh | |
| sudo apt-get install -y weston libgl1-mesa-dri binutils | |
| - name: Test and build the native application image | |
| run: | | |
| chmod +x gradlew | |
| if [ "$RUNNER_OS" = "Linux" ]; then | |
| bash scripts/test_wayland.sh test jpackageImage | |
| else | |
| ./gradlew test jpackageImage | |
| fi | |
| - name: Upload validation reports | |
| if: always() | |
| uses: actions/upload-artifact@v7.0.1 | |
| with: | |
| name: launcher-validation-${{ runner.os }} | |
| path: | | |
| launcher/build/reports/tests | |
| launcher/build/test-results |