1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: make the v gret steps more robust to slow CI runners

This commit is contained in:
Delyan Angelov 2023-01-08 14:56:15 +02:00
parent a99149334c
commit 942130ff6e
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
2 changed files with 4 additions and 4 deletions

View File

@ -121,8 +121,8 @@ jobs:
id: compare
continue-on-error: true
run: |
Xvfb $DISPLAY -screen 0 800x600x24 &
sleep 1 # give xvfb time to start
Xvfb $DISPLAY -screen 0 800x600x24 -fbdir /var/tmp/ &
sleep 1; while [ ! -f /var/tmp/Xvfb_screen0 ]; do sleep 0.5; done # give xvfb time to start, even on slow CI runs
v gret -r ~/code/doom -t ./doom-regression-images/vgret.doom.toml -v ./doom-sample_images ./doom-regression-images
- name: Upload regression to imgur

View File

@ -43,8 +43,8 @@ jobs:
id: compare
continue-on-error: true
run: |
Xvfb $DISPLAY -screen 0 1280x1024x24 &
sleep 1 # give xvfb time to start
Xvfb $DISPLAY -screen 0 1280x1024x24 -fbdir /var/tmp/ &
sleep 1; while [ ! -f /var/tmp/Xvfb_screen0 ]; do sleep 0.5; done # give xvfb time to start, even on slow CI runs
./v gret -t ./gg-regression-images/vgret.v_examples.toml -v ./gg-sample_images ./gg-regression-images
- name: Upload regression to imgur