From 4b740e3eddf05d51f9a60380a90be2fcd37a6ba3 Mon Sep 17 00:00:00 2001 From: Shylie Date: Thu, 30 May 2024 00:00:09 -0400 Subject: [PATCH] Update to test against known working version rather than previous commit --- .gitea/workflows/make_png.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/make_png.yaml b/.gitea/workflows/make_png.yaml index 761b1ce..c0b15b1 100644 --- a/.gitea/workflows/make_png.yaml +++ b/.gitea/workflows/make_png.yaml @@ -13,14 +13,14 @@ jobs: path: curr submodules: recursive lfs: true - - name: Checkout previous + - name: Checkout previous known working uses: actions/checkout@v4 with: path: prev fetch-depth: 2 submodules: recursive lfs: true - - run: cd prev && git checkout HEAD^ + - run: cd prev && git checkout 10a90a5f6a - name: Build current run: cmake -S curr -B curr/build -DGLERMINAL_TEST=ON && cmake --build curr/build - name: Build previous @@ -29,7 +29,7 @@ jobs: run: cd curr/build/tests && ls $PWD/resources && XDG_RUNTIME_DIR=$PWD xvfb-run -a ./test-basic - name: Generate PNG file for previous run: cd prev/build/tests && ls $PWD/resources && XDG_RUNTIME_DIR=$PWD xvfb-run -a ./test-basic - - name: Upload current PNG + - name: Upload PNG files uses: actions/upload-artifact@v3 with: name: basic