Skip to content
Merged
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
10 changes: 9 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
if: runner.os == 'Linux'
run: |
sudo apt-get update -q
sudo apt-get install -y xvfb libgtk-4-1 libwebkitgtk-6.0-4 libjavascriptcoregtk-6.0-1
sudo apt-get install -y xvfb libgtk-4-1 libwebkitgtk-6.0-4 libjavascriptcoregtk-6.0-1 libgl1-mesa-dri

- name: Maven cache
uses: actions/cache@v6
Expand All @@ -47,4 +47,12 @@ jobs:
env:
WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS: 1
WEBKIT_DISABLE_DMABUF_RENDERER: 1
WEBKIT_DISABLE_COMPOSITING_MODE: 1
# Xvfb has no DRI3, so GTK4's GL renderer aborts on the runner image.
# Force the cairo renderer and software GL, and skip the a11y bus.
GSK_RENDERER: cairo
GDK_BACKEND: x11
LIBGL_ALWAYS_SOFTWARE: 1
GTK_A11Y: none
NO_AT_BRIDGE: 1
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" mvn clean verify
10 changes: 9 additions & 1 deletion .github/workflows/native-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
if: runner.os == 'Linux'
run: |
sudo apt-get update -q
sudo apt-get install -y xvfb libgtk-4-1 libwebkitgtk-6.0-4 libjavascriptcoregtk-6.0-1
sudo apt-get install -y xvfb libgtk-4-1 libwebkitgtk-6.0-4 libjavascriptcoregtk-6.0-1 libgl1-mesa-dri

- name: Maven cache
uses: actions/cache@v6
Expand All @@ -57,5 +57,13 @@ jobs:
env:
WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS: 1
WEBKIT_DISABLE_DMABUF_RENDERER: 1
WEBKIT_DISABLE_COMPOSITING_MODE: 1
# Xvfb has no DRI3, so GTK4's GL renderer aborts on the runner image.
# Force the cairo renderer and software GL, and skip the a11y bus.
GSK_RENDERER: cairo
GDK_BACKEND: x11
LIBGL_ALWAYS_SOFTWARE: 1
GTK_A11Y: none
NO_AT_BRIDGE: 1
run: xvfb-run --auto-servernum --server-args="-screen 0 1280x1024x24" mvn clean package -Pnative

2 changes: 1 addition & 1 deletion examples/hello-world-jex/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>1.1.8</version>
<version>1.1.9</version>
<executions>
<execution>
<id>build-native</id>
Expand Down
2 changes: 1 addition & 1 deletion examples/htmx-jex-bootstrap/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<plugin>
<groupId>org.graalvm.buildtools</groupId>
<artifactId>native-maven-plugin</artifactId>
<version>1.1.8</version>
<version>1.1.9</version>
<executions>
<execution>
<id>build-native</id>
Expand Down
Loading