mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-12-22 17:49:43 +01:00
Build out-of-tree in workflows
This commit is contained in:
parent
f3797ff866
commit
adf2e5e3bd
1 changed files with 16 additions and 15 deletions
31
.github/workflows/ci.yml
vendored
31
.github/workflows/ci.yml
vendored
|
@ -153,49 +153,50 @@ jobs:
|
||||||
|
|
||||||
- name: CMake configure (default version)
|
- name: CMake configure (default version)
|
||||||
run: |
|
run: |
|
||||||
cd $env:SRC_DIR_PATH
|
mkdir $env:SRC_DIR_PATH/build
|
||||||
|
cd $env:SRC_DIR_PATH/build
|
||||||
$env:LDFLAGS = "/LIBPATH:C:\SDL2-$env:SDL_VERSION\lib\x86 "
|
$env:LDFLAGS = "/LIBPATH:C:\SDL2-$env:SDL_VERSION\lib\x86 "
|
||||||
$env:LDFLAGS += "/LIBPATH:C:\SDL2_mixer-$env:SDL_MIXER_VERSION\lib\x86"
|
$env:LDFLAGS += "/LIBPATH:C:\SDL2_mixer-$env:SDL_MIXER_VERSION\lib\x86"
|
||||||
cmake -G "Visual Studio 16 2019" -A Win32 `
|
cmake -G "Visual Studio 16 2019" -A Win32 `
|
||||||
-DSDL2_INCLUDE_DIRS="C:\SDL2-$env:SDL_VERSION\include;C:\SDL2_mixer-$env:SDL_MIXER_VERSION\include" `
|
-DSDL2_INCLUDE_DIRS="C:\SDL2-$env:SDL_VERSION\include;C:\SDL2_mixer-$env:SDL_MIXER_VERSION\include" `
|
||||||
-DSDL2_LIBRARIES="SDL2;SDL2main;SDL2_mixer" .
|
-DSDL2_LIBRARIES="SDL2;SDL2main;SDL2_mixer" ..
|
||||||
- name: Build (default version)
|
- name: Build (default version)
|
||||||
run: |
|
run: |
|
||||||
cd $env:SRC_DIR_PATH
|
cd $env:SRC_DIR_PATH/build
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
- name: CMake configure (official)
|
- name: CMake configure (official)
|
||||||
run: |
|
run: |
|
||||||
cd $env:SRC_DIR_PATH
|
cd $env:SRC_DIR_PATH/build
|
||||||
cmake -DOFFICIAL_BUILD=ON .
|
cmake -DOFFICIAL_BUILD=ON ..
|
||||||
- name: Build (official)
|
- name: Build (official)
|
||||||
run: |
|
run: |
|
||||||
cd $env:SRC_DIR_PATH
|
cd $env:SRC_DIR_PATH/build
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
- name: CMake configure (M&P)
|
- name: CMake configure (M&P)
|
||||||
run: |
|
run: |
|
||||||
cd $env:SRC_DIR_PATH
|
cd $env:SRC_DIR_PATH/build
|
||||||
cmake -DOFFICIAL_BUILD=OFF -DMAKEANDPLAY=ON .
|
cmake -DOFFICIAL_BUILD=OFF -DMAKEANDPLAY=ON ..
|
||||||
- name: Build (M&P)
|
- name: Build (M&P)
|
||||||
run: |
|
run: |
|
||||||
cd $env:SRC_DIR_PATH
|
cd $env:SRC_DIR_PATH/build
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
- name: CMake configure (no custom levels)
|
- name: CMake configure (no custom levels)
|
||||||
run: |
|
run: |
|
||||||
cd $env:SRC_DIR_PATH
|
cd $env:SRC_DIR_PATH/build
|
||||||
cmake -DMAKEANDPLAY=OFF -DCUSTOM_LEVEL_SUPPORT=DISABLED .
|
cmake -DMAKEANDPLAY=OFF -DCUSTOM_LEVEL_SUPPORT=DISABLED ..
|
||||||
- name: Build (no custom levels)
|
- name: Build (no custom levels)
|
||||||
run: |
|
run: |
|
||||||
cd $env:SRC_DIR_PATH
|
cd $env:SRC_DIR_PATH/build
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
||||||
- name: CMake configure (no editor)
|
- name: CMake configure (no editor)
|
||||||
run: |
|
run: |
|
||||||
cd $env:SRC_DIR_PATH
|
cd $env:SRC_DIR_PATH/build
|
||||||
cmake -DCUSTOM_LEVEL_SUPPORT=NO_EDITOR .
|
cmake -DCUSTOM_LEVEL_SUPPORT=NO_EDITOR ..
|
||||||
- name: Build (no editor)
|
- name: Build (no editor)
|
||||||
run: |
|
run: |
|
||||||
cd $env:SRC_DIR_PATH
|
cd $env:SRC_DIR_PATH/build
|
||||||
cmake --build .
|
cmake --build .
|
||||||
|
|
Loading…
Reference in a new issue