update appimage workflow

This commit is contained in:
MihailRis
2024-12-07 01:32:33 +03:00
parent c80e2dfe3a
commit d81718a0b3
+4 -4
View File
@@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
submodules: 'true' submodules: 'true'
- name: install dependencies - name: Install dependencies
run: | run: |
sudo apt-get update sudo apt-get update
sudo apt-get install -y build-essential libglfw3-dev libglfw3 libglew-dev \ sudo apt-get install -y build-essential libglfw3-dev libglfw3 libglew-dev \
@@ -34,9 +34,9 @@ jobs:
cmake -DCMAKE_BUILD_TYPE=Release .. cmake -DCMAKE_BUILD_TYPE=Release ..
sudo make install sudo make install
cd ../.. cd ../..
- name: configure - name: Configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_APPDIR=1 run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_APPDIR=1 -DVOXELENGINE_BUILD_TESTS=ON
- name: build - name: Build
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