File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 3434 - { name: MacOS ARM, os: macos-latest, native: cocoa.macosx.aarch64 }
3535 name : Verify ${{ matrix.config.name }} with Java-${{ matrix.java }}
3636 runs-on : ${{ matrix.config.os }}
37+ defaults :
38+ run :
39+ shell : ${{ contains(matrix.config.native, 'win32') && 'cmd' || 'bash' }}
3740 steps :
3841 - name : checkout swt
3942 uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
6063 with :
6164 maven-version : 3.9.9
6265 - name : Build
63- uses : coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
64- with :
65- run : >-
66+ run : >-
67+ ${{ contains(matrix.config.native, 'linux') && 'xvfb-run' || '' }}
6668 mvn --batch-mode -V -U -e
6769 --threads 1C
6870 -DforkCount=1
7779 clean install
7880 - name : Performance tests
7981 if : contains(github.event.pull_request.labels.*.name, 'performance')
80- uses : coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
81- with :
82- working-directory : tests/org.eclipse.swt.tests
83- run : >-
82+ working-directory : tests/org.eclipse.swt.tests
83+ run : >-
84+ ${{ contains(matrix.config.native, 'linux') && 'xvfb-run' || '' }}
8485 mvn --batch-mode -V -U -e
8586 -DforkCount=1
8687 -Dcompare-version-with-baselines.skip=true
You can’t perform that action at this time.
0 commit comments