From 13a2efd67d6f290baf830abfda6c486607fbeef5 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Sat, 30 Mar 2024 17:33:49 +0200 Subject: [PATCH] ci: increase wait time for the xvfb check, to reduce the chance of false positives --- .github/workflows/c2v_ci.yml | 4 ++-- .github/workflows/gg_regressions_ci.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/c2v_ci.yml b/.github/workflows/c2v_ci.yml index c153b6b4820625..24d46361ef70a1 100644 --- a/.github/workflows/c2v_ci.yml +++ b/.github/workflows/c2v_ci.yml @@ -109,8 +109,8 @@ jobs: continue-on-error: true run: | 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 - sleep 1; v gret -r ~/code/doom -t ./doom-regression-images/vgret.doom.toml -v ./doom-sample_images ./doom-regression-images + sleep 2; while [ ! -f /var/tmp/Xvfb_screen0 ]; do sleep 0.5; done # give xvfb time to start, even on slow CI runs + sleep 5; v gret -r ~/code/doom -t ./doom-regression-images/vgret.doom.toml -v ./doom-sample_images ./doom-regression-images - name: Upload regression to imgur if: steps.compare.outcome != 'success' run: | diff --git a/.github/workflows/gg_regressions_ci.yml b/.github/workflows/gg_regressions_ci.yml index 17e88d30ca3e2a..8281ffa9a35695 100644 --- a/.github/workflows/gg_regressions_ci.yml +++ b/.github/workflows/gg_regressions_ci.yml @@ -44,8 +44,8 @@ jobs: continue-on-error: true run: | 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 - sleep 1; ./v gret -t ./gg-regression-images/vgret.v_examples.toml -v ./gg-sample_images ./gg-regression-images + sleep 2; while [ ! -f /var/tmp/Xvfb_screen0 ]; do sleep 0.5; done # give xvfb time to start, even on slow CI runs + sleep 5; ./v gret -t ./gg-regression-images/vgret.v_examples.toml -v ./gg-sample_images ./gg-regression-images - name: Upload regression to imgur if: steps.compare.outcome != 'success'