Skip to content

Commit

Permalink
[Build] Improve elements order in maven.yml and build with Maven 3.9.9
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Sep 26, 2024
1 parent 717d2f3 commit 35c5988
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
name: Event File
path: ${{ github.event_path }}
build:
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
Expand All @@ -34,21 +33,22 @@ jobs:
- { name: MacOS x86, os: macos-13, native: cocoa.macosx.x86_64 }
- { name: MacOS ARM, os: macos-latest, native: cocoa.macosx.aarch64 }
name: Verify ${{ matrix.config.name }} with Java-${{ matrix.java }}
runs-on: ${{ matrix.config.os }}
steps:
- name: checkout swt
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
with:
fetch-depth: 0 # required for jgit timestamp provider to work
lfs: false # lfs-pull is not necessary, the natives are re-build in each run
- name: Install Linux requirements
if: ${{ matrix.config.native == 'gtk.linux.x86_64'}}
run: |
sudo apt-get update -qq
sudo apt-get install -qq -y libgtk-3-dev freeglut3-dev webkit2gtk-driver
if: ${{ matrix.config.native == 'gtk.linux.x86_64'}}
- name: Pull large static Windows binaries
if: ${{ matrix.config.native == 'win32.win32.x86_64'}}
run: |
git lfs pull --include='/binaries/org.eclipse.swt.win32.win32.x86_64/WebView2Loader.dll'
if: ${{ matrix.config.native == 'win32.win32.x86_64'}}
- name: Set up Java ${{ matrix.java }}
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.4.0
with:
Expand All @@ -58,8 +58,8 @@ jobs:
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.6
- name: Build with Maven
maven-version: 3.9.9
- name: Build
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
run: >-
Expand All @@ -79,6 +79,7 @@ jobs:
if: contains(github.event.pull_request.labels.*.name, 'performance')
uses: coactions/setup-xvfb@6b00cf1889f4e1d5a48635647013c0508128ee1a
with:
working-directory: tests/org.eclipse.swt.tests
run: >-
mvn --batch-mode -V -U -e
-DforkCount=1
Expand All @@ -88,7 +89,6 @@ jobs:
-DfailIfNoTests=true
-Dtest=PerformanceTests
integration-test
working-directory: tests/org.eclipse.swt.tests
- name: Upload Test Results for ${{ matrix.config.name }} / Java-${{ matrix.java }}
if: always()
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874 # v4.4.0
Expand Down

0 comments on commit 35c5988

Please sign in to comment.