This commit is contained in:
@@ -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: |-
|
||||
|
||||
Reference in New Issue
Block a user