Skip to content

Commit 5ba4ab2

Browse files
committed
adding virtual env instructions for Linux CI
1 parent c6ff957 commit 5ba4ab2

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
jobs:
1010
linux:
1111
runs-on: ubuntu-latest
12-
timeout-minutes: 20
12+
timeout-minutes: 10
1313

1414
steps:
1515
- uses: actions/checkout@v4
@@ -22,12 +22,19 @@ jobs:
2222
8.0.x
2323
10.0.x
2424
25+
- name: Setup virtual environment
26+
run: |
27+
export DISPLAY=:99
28+
echo "DISPLAY=:99" >> $GITHUB_ENV
29+
Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
30+
sleep 30
31+
2532
- name: Build
2633
run: ./build.sh
2734

2835
windows:
2936
runs-on: windows-latest
30-
timeout-minutes: 20
37+
timeout-minutes: 10
3138

3239
steps:
3340
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)