Skip to content
Merged
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
15 changes: 5 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
name: Build
name: Build with Maven

on:
push:
branches: [ master ]
pull_request:
workflow_dispatch:

Expand All @@ -11,18 +12,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Java
uses: actions/setup-java@v4
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'
- name: Setup Display
run: |
sudo apt-get install mutter dbus-x11
dbus-launch --auto-syntax > dbus-env
. dbus-env
mutter --no-x11 --headless --virtual-monitor 1920x1080 &
- name: Build
run: ./mvnw -B -ntp clean verify
run: xvfb-run ./mvnw -B -ntp clean verify
Loading