update appimage workflow

This commit is contained in:
MihailRis 2024-12-07 01:32:33 +03:00
parent c80e2dfe3a
commit d81718a0b3

View File

@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: 'true'
- name: install dependencies
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential libglfw3-dev libglfw3 libglew-dev \
@ -34,9 +34,9 @@ jobs:
cmake -DCMAKE_BUILD_TYPE=Release ..
sudo make install
cd ../..
- name: configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_APPDIR=1
- name: build
- name: Configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_APPDIR=1 -DVOXELENGINE_BUILD_TESTS=ON
- name: Build
run: cmake --build build -t install
- name: Run tests
run: ctest --test-dir ${{github.workspace}}/build