Skip to content

Commit

Permalink
[Build] Replace use of coactions/setup-xvfb
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell authored and akurtakov committed Oct 8, 2024
1 parent c91f852 commit a94fed2
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ jobs:
- { name: MacOS ARM, os: macos-latest, native: cocoa.macosx.aarch64 }
name: Verify ${{ matrix.config.name }} with Java-${{ matrix.java }}
runs-on: ${{ matrix.config.os }}
defaults:
run:
shell: ${{ startsWith(matrix.config.native, 'win32') && 'cmd' || 'bash' }}
steps:
- name: checkout swt
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
Expand All @@ -60,9 +63,7 @@ jobs:
with:
maven-version: 3.9.9
- name: Build
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
run: >-
run: >-
mvn --batch-mode -V -U -e
--threads 1C
-DforkCount=1
Expand All @@ -77,10 +78,8 @@ jobs:
clean install
- name: Performance tests
if: contains(github.event.pull_request.labels.*.name, 'performance')
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
working-directory: tests/org.eclipse.swt.tests
run: >-
working-directory: tests/org.eclipse.swt.tests
run: >-
mvn --batch-mode -V -U -e
-DforkCount=1
-Dcompare-version-with-baselines.skip=true
Expand Down

0 comments on commit a94fed2

Please sign in to comment.