Skip to content

Commit a07c51d

Browse files
committed
Try to use a virtual display
1 parent ea242c9 commit a07c51d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.ci/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ function build() {
2020

2121
if pmd_ci_utils_is_fork_or_pull_request; then
2222
pmd_ci_log_group_start "Build with mvnw"
23-
./mvnw clean verify --activate-profiles shading --show-version --errors --batch-mode --no-transfer-progress
23+
Xvfb :99
24+
DISPLAY=:99 ./mvnw clean verify --activate-profiles shading --show-version --errors --batch-mode --no-transfer-progress
2425
pmd_ci_log_group_end
2526
exit 0
2627
fi

0 commit comments

Comments
 (0)