File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
3+
4+ name : SWT Matrix Build
5+ concurrency :
6+ group : ${{ github.workflow }}-${{ github.ref }}
7+ cancel-in-progress : true
8+
9+ on :
10+ push :
11+ branches : [ master ]
12+ pull_request :
13+ branches : [ master ]
14+
15+ jobs :
16+ build :
17+ runs-on : ${{ matrix.config.os }}
18+ strategy :
19+ fail-fast : false
20+ matrix :
21+ config :
22+ - { name: Linux, os: ubuntu-latest, native: gtk.linux.x86_64 }
23+ - { name: Windows, os: windows-latest, native: win32.win32.x86_64 }
24+ - { name: MacOS, os: macos-latest, native: cocoa.macosx.x86_64 }
25+ name : Verify ${{ matrix.config.name }}
26+ steps :
27+ - name : checkout swt
28+ uses : actions/checkout@v3
29+ with :
30+ path : ' eclipse.platform.swt'
31+ fetch-depth : 0 # required for jgit timestamp provider to work
32+ - name : Install Linux requirements
33+ run : sudo apt-get update -qq && sudo apt-get install -qq -y webkit2gtk-driver
34+ if : ${{ matrix.config.native == 'gtk.linux.x86_64'}}
35+ - name : Set up JDK 11
36+ uses : actions/setup-java@v3
37+ with :
38+ java-version : ' 11'
39+ distribution : ' temurin'
40+ cache : maven
41+ - name : Build with Maven
42+ uses : GabrielBB/xvfb-action@v1
43+ with :
44+ run : mvn --batch-mode -Pbuild-individual-bundles -DcheckAllWS=true -DforkCount=0 -Dcompare-version-with-baselines.skip=false -Dmaven.compiler.failOnWarning=true -DskipTests clean verify
45+ working-directory : eclipse.platform.swt
You can’t perform that action at this time.
0 commit comments