Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 3149cd3

Browse files
Use xvfb-run
1 parent ee223c5 commit 3149cd3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.ci/Dockerfile-LinuxDesktop

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,7 @@ RUN sudo apt-get update && sudo apt-get install -y google-cloud-sdk && \
1515
gcloud config set core/disable_usage_reporting true && \
1616
gcloud config set component_manager/disable_update_check true
1717

18+
# Install xvfb to allow running headless
19+
RUN sudo apt-get install -y xvfb
1820
# Install Linux desktop requirements.
1921
RUN sudo apt-get install -y clang make cmake ninja-build rsync pkg-config

.cirrus.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ task:
121121
# TODO(stuartmorgan): Include stable once Linux is supported on stable.
122122
- flutter channel master
123123
- ./script/incremental_build.sh build-examples --linux
124-
- ./script/incremental_build.sh drive-examples --linux
124+
- xvfb-run ./script/incremental_build.sh drive-examples --linux
125125

126126
#task:
127127
# # don't run on release tags since it creates O(n^2) tasks where n is the number of plugins

0 commit comments

Comments
 (0)