Update build system
All checks were successful
Build / Build (push) Successful in 1m54s

This commit is contained in:
2026-06-29 13:38:53 -04:00
parent 2f1f196d6b
commit 3fe1dfb91b
13 changed files with 211 additions and 174 deletions

View File

@@ -36,22 +36,31 @@ jobs:
uses: jakoch/install-vulkan-sdk-action@v1
- name: Configure debug
run: cd scripts; CPM_SOURCE_CACHE="~/.cache/CPM/" ./configure-debug.sh
run: |
mkdir -p build/debug
cd build/debug
CPM_SOURCE_CACHE="~/.cache/CPM/" cmake ../../ -G Ninja -DCMAKE_BUILD_TYPE=Debug
- name: Configure release
run: cd scripts; CPM_SOURCE_CACHE="~/.cache/CPM/" ./configure-release.sh
run: |
mkdir -p build/release
cd build/release
CPM_SOURCE_CACHE="~/.cache/CPM/" cmake ../../ -G Ninja -DCMAKE_BUILD_TYPE=Release
- name: Configure RelWithDeb
run: cd scripts; CPM_SOURCE_CACHE="~/.cache/CPM/" ./configure-relwithdeb.sh
run: |
mkdir -p build/relwithdeb
cd build/relwithdeb
CPM_SOURCE_CACHE="~/.cache/CPM/" cmake ../../ -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo
- name: Build debug
run: cd scripts; ./build-debug.sh
run: cd build/debug && ninja
- name: Build release
run: cd scripts; ./build-release.sh
run: cd build/release && ninja
- name: Build Release with debug info
run: cd scripts; ./build-relwithdeb.sh
run: cd build/relwithdeb && ninja
- name: Copy assets
run: |-