From 19b458d048667ee70cedf9a51af3fdb8deb478f1 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 7 Dec 2024 17:00:20 +0300 Subject: [PATCH] replace 'Run engine (headless)' with 'Run engine tests' --- .github/workflows/appimage.yml | 2 +- .github/workflows/macos.yml | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/appimage.yml b/.github/workflows/appimage.yml index c491e399..257e81e6 100644 --- a/.github/workflows/appimage.yml +++ b/.github/workflows/appimage.yml @@ -45,7 +45,7 @@ jobs: run: | chmod +x build/VoxelEngine chmod +x AppDir/usr/bin/vctest - AppDir/usr/bin/vctest -e build/VoxelEngine -d dev/tests -u build --output-always + AppDir/usr/bin/vctest -e build/VoxelEngine -d dev/tests -u build # - name: Build AppImage # uses: AppImageCrafters/build-appimage-action@fe2205a4d6056be47051f7b1b3811106e9814910 # env: diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index d3adc67f..1cd0c7dc 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -39,11 +39,12 @@ jobs: - name: Run tests run: ctest --output-on-failure --test-dir build - - name: Run engine (headless) + - name: Run engine tests + timeout-minutes: 1 run: | chmod +x build/VoxelEngine - build/VoxelEngine --headless --dir userdir - timeout-minutes: 1 + chmod +x build/vctest/vctest + build/vctest/vctest -e build/VoxelEngine -d dev/tests -u build --output-always # - name: Create DMG # run: | # mkdir VoxelEngineDmgContent