add 'Run engine (headless)' step to appimage workflow & disable Build AppImage and upload

This commit is contained in:
MihailRis
2024-12-07 01:44:28 +03:00
parent 1d1d5c330c
commit e0670c11d5
+15 -10
View File
@@ -40,13 +40,18 @@ jobs:
run: cmake --build build -t install run: cmake --build build -t install
- name: Run tests - name: Run tests
run: ctest --test-dir ${{github.workspace}}/build run: ctest --test-dir ${{github.workspace}}/build
- name: Build AppImage - name: Run engine (headless)
uses: AppImageCrafters/build-appimage-action@fe2205a4d6056be47051f7b1b3811106e9814910 run: |
env: mkdir ${{github.workspace}}/userdir
UPDATE_INFO: gh-releases-zsync|MihailRis|VoxelEngine-Cpp|latest|*x86_64.AppImage.zsync chmod +x ${{github.workspace}}/build/VoxelEngine
with: ${{github.workspace}}/build/VoxelEngine --headless --dir ${{github.workspace}}/userdir
recipe: dev/AppImageBuilder.yml # - name: Build AppImage
- uses: actions/upload-artifact@v4 # uses: AppImageCrafters/build-appimage-action@fe2205a4d6056be47051f7b1b3811106e9814910
with: # env:
name: AppImage # UPDATE_INFO: gh-releases-zsync|MihailRis|VoxelEngine-Cpp|latest|*x86_64.AppImage.zsync
path: './*.AppImage*' # with:
# recipe: dev/AppImageBuilder.yml
# - uses: actions/upload-artifact@v4
# with:
# name: AppImage
# path: './*.AppImage*'