Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 11 additions & 5 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ jobs:
java: [ '21' ]
config:
- { name: Linux, os: ubuntu-latest, native: gtk.linux.x86_64 }
- { name: Windows, os: windows-latest, native: win32.win32.x86_64 }
- { name: MacOS x86, os: macos-13, native: cocoa.macosx.x86_64 }
- { name: MacOS ARM, os: macos-latest, native: cocoa.macosx.aarch64 }
# - { name: Windows, os: windows-latest, native: win32.win32.x86_64 }
# - { 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:
Expand All @@ -48,7 +48,12 @@ jobs:
if: ${{ matrix.config.native == 'gtk.linux.x86_64'}}
run: |
sudo apt-get update -qq
sudo apt-get install -qq -y libgtk-3-dev libgtk-4-dev freeglut3-dev webkit2gtk-driver
sudo apt-get install -qq -y libgtk-3-dev libgtk-4-dev freeglut3-dev webkit2gtk-driver libwebkitgtk-6.0-4
# WebKit for GTK4 uses bwrap and on Ubuntu 24.04 default settings are not working
# so turn off apparmor. We are already running in a protected environment, so we
# don't really need this extra level.
sudo sysctl kernel.unprivileged_userns_clone=1
sudo sysctl kernel.apparmor_restrict_unprivileged_userns=0
- name: Pull large static Windows binaries
if: ${{ matrix.config.native == 'win32.win32.x86_64'}}
run: |
Expand All @@ -69,14 +74,15 @@ jobs:
run: >-
${{ contains(matrix.config.native, 'linux') && 'xvfb-run' || '' }}
mvn --batch-mode -V -U -e
--threads 1C
--threads 1
-DforkCount=1
'-Dnative=${{ matrix.config.native }}'
-Papi-check -Pjavadoc
'-Dtycho.baseline.replace=none'
--fail-at-end
-DskipNativeTests=false
-DfailIfNoTests=false
${{ contains(matrix.config.native, 'linux') && '-DexcludedGroups=gtk4-todo' || '' }}
clean install
- name: Performance tests
if: contains(github.event.pull_request.labels.*.name, 'performance')
Expand Down
Loading
Loading