Skip to content

Commit

Permalink
adapt build file
Browse files Browse the repository at this point in the history
  • Loading branch information
kathrin-7978 committed Jan 17, 2025
1 parent b3dd349 commit 765e4f3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,16 @@ jobs:
cache: maven
- name: Install required packages
run: sudo apt-get update && sudo apt-get install -y xvfb libgtk-3-0
- name: Start Xvfb
run: |
Xvfb :99 -screen 0 1024x768x24 &
echo "Xvfb started"
- name: Set DISPLAY environment variable
run: echo "DISPLAY=:99" >> $GITHUB_ENV
- name: Build with Maven
run: mvn package clean install -Plinux -Pci-build -Dno-native-profile -Dmaven.test.skip=true
- name: Run headless test
uses: coactions/setup-xvfb@v1
with:
run: mvn -X test -Plinux -Pci-build -Dno-native-profile
run: mvn -X test -Plinux -Pci-build -Dno-native-profile
- name: Describe current commit
run: echo "commit_sha=${GITHUB_SHA::7}" >> $GITHUB_ENV
- name: Remove Previous Build Artifacts
Expand Down

0 comments on commit 765e4f3

Please sign in to comment.