mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
Test manual build sdl for ubuntu
This commit is contained in:
parent
bca742186f
commit
dc84201db0
1 changed files with 8 additions and 1 deletions
9
.github/workflows/appimage.yml
vendored
9
.github/workflows/appimage.yml
vendored
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential libsdl3-dev libglew-dev libglew2.2 \
|
||||
sudo apt-get install -y build-essential libglew-dev libglew2.2 \
|
||||
libglm-dev libpng-dev libopenal-dev libluajit-5.1-dev libvorbis-dev \
|
||||
libcurl4-openssl-dev libgtest-dev cmake squashfs-tools valgrind
|
||||
# fix luajit paths
|
||||
|
|
@ -35,6 +35,13 @@ jobs:
|
|||
cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release -DENTT_INSTALL=on ..
|
||||
sudo make install
|
||||
cd ../..
|
||||
# install SDL3
|
||||
git clone https://github.com/libsdl-org/SDL.git
|
||||
cd SDL
|
||||
cmake -G "Ninja Multi-Config" -B.build .
|
||||
cmake --build .build --config Release -j
|
||||
sudo cmake --install .build --config Release
|
||||
cd ..
|
||||
- name: Configure
|
||||
run: cmake -S . -B build -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release -DVOXELENGINE_BUILD_APPDIR=1 -DVOXELENGINE_BUILD_TESTS=ON
|
||||
- name: Build
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue