23
23
name : Event File
24
24
path : ${{ github.event_path }}
25
25
build :
26
- runs-on : ${{ matrix.config.os }}
27
26
strategy :
28
27
fail-fast : false
29
28
matrix :
@@ -34,21 +33,22 @@ jobs:
34
33
- { name: MacOS x86, os: macos-13, native: cocoa.macosx.x86_64 }
35
34
- { name: MacOS ARM, os: macos-latest, native: cocoa.macosx.aarch64 }
36
35
name : Verify ${{ matrix.config.name }} with Java-${{ matrix.java }}
36
+ runs-on : ${{ matrix.config.os }}
37
37
steps :
38
38
- name : checkout swt
39
39
uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
40
40
with :
41
41
fetch-depth : 0 # required for jgit timestamp provider to work
42
42
lfs : false # lfs-pull is not necessary, the natives are re-build in each run
43
43
- name : Install Linux requirements
44
+ if : ${{ matrix.config.native == 'gtk.linux.x86_64'}}
44
45
run : |
45
46
sudo apt-get update -qq
46
47
sudo apt-get install -qq -y libgtk-3-dev freeglut3-dev webkit2gtk-driver
47
- if : ${{ matrix.config.native == 'gtk.linux.x86_64'}}
48
48
- name : Pull large static Windows binaries
49
+ if : ${{ matrix.config.native == 'win32.win32.x86_64'}}
49
50
run : |
50
51
git lfs pull --include='/binaries/org.eclipse.swt.win32.win32.x86_64/WebView2Loader.dll'
51
- if : ${{ matrix.config.native == 'win32.win32.x86_64'}}
52
52
- name : Set up Java ${{ matrix.java }}
53
53
uses : actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
54
54
with :
58
58
- name : Set up Maven
59
59
uses : stCarolas/setup-maven@v5
60
60
with :
61
- maven-version : 3.9.6
62
- - name : Build with Maven
61
+ maven-version : 3.9.9
62
+ - name : Build
63
63
uses : coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
64
64
with :
65
65
run : >-
79
79
if : contains(github.event.pull_request.labels.*.name, 'performance')
80
80
uses : coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
81
81
with :
82
+ working-directory : tests/org.eclipse.swt.tests
82
83
run : >-
83
84
mvn --batch-mode -V -U -e
84
85
-DforkCount=1
88
89
-DfailIfNoTests=true
89
90
-Dtest=PerformanceTests
90
91
integration-test
91
- working-directory : tests/org.eclipse.swt.tests
92
92
- name : Upload Test Results for ${{ matrix.config.name }} / Java-${{ matrix.java }}
93
93
if : always()
94
94
uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
0 commit comments