Bump eclipsecbi/fedora-gtk3-mutter from 741df11
to 1d34003
in /container
#190
Workflow file for this run
This file contains 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
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: SWT Matrix Build | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
event_file: | |
name: "Event File" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Upload | |
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | |
with: | |
name: Event File | |
path: ${{ github.event_path }} | |
build: | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
java: [ '17' ] | |
config: | |
- { name: Linux, os: ubuntu-latest, native: gtk.linux.x86_64 } | |
- { name: Windows, os: windows-latest, native: win32.win32.x86_64 } | |
- { name: MacOS, os: macos-latest, native: cocoa.macosx.x86_64 } | |
name: Verify ${{ matrix.config.name }} with Java-${{ matrix.java }} | |
steps: | |
- name: checkout swt | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
path: 'eclipse.platform.swt' | |
fetch-depth: 0 # required for jgit timestamp provider to work | |
- name: checkout swt.binaries | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
with: | |
path: eclipse.platform.swt.binaries | |
repository: 'eclipse-platform/eclipse.platform.swt.binaries' | |
- name: Install Linux requirements | |
run: sudo apt-get update -qq && sudo apt-get install -qq -y webkit2gtk-driver | |
if: ${{ matrix.config.native == 'gtk.linux.x86_64'}} | |
- name: Set up Java ${{ matrix.java }} | |
uses: actions/setup-java@0ab4596768b603586c0de567f2430c30f5b0d2b0 # v3.13.0 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'temurin' | |
cache: maven | |
- name: Set up Maven | |
uses: stCarolas/[email protected] | |
with: | |
maven-version: 3.9.2 | |
- name: Build swt.binaries fragments with Maven | |
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1 | |
with: | |
run: >- | |
mvn --batch-mode -Pbuild-individual-bundles -DforceContextQualifier=zzz | |
-Dcompare-version-with-baselines.skip=true -Dmaven.compiler.failOnWarning=true install | |
working-directory: eclipse.platform.swt.binaries | |
- name: Build with Maven | |
uses: coactions/setup-xvfb@b6b4fcfb9f5a895edadc3bc76318fae0ac17c8b3 # v1.0.1 | |
with: | |
run: >- | |
mvn --batch-mode -V -U | |
-DforkCount=1 | |
-Dcompare-version-with-baselines.skip=false | |
-Dmaven.compiler.failOnWarning=true | |
--fail-at-end | |
-DskipNativeTests=false | |
-DfailIfNoTests=false | |
clean install | |
working-directory: eclipse.platform.swt | |
- name: Upload Test Results for ${{ matrix.config.name }} / Java-${{ matrix.java }} | |
if: always() | |
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | |
with: | |
name: test-results-${{ matrix.config.native }}-java${{ matrix.java }} | |
if-no-files-found: warn | |
path: | | |
${{ github.workspace }}/**/target/surefire-reports/*.xml |