mirror of https://github.com/axmolengine/axmol.git
Build win32 Debug and Release [ci build]
This commit is contained in:
parent
f0dc1582fb
commit
ca98f43808
|
@ -2,10 +2,6 @@ name: win32
|
||||||
|
|
||||||
on: [push]
|
on: [push]
|
||||||
|
|
||||||
env:
|
|
||||||
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
|
|
||||||
BUILD_TYPE: Release
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
if: "contains(github.event.commits[0].message, '[ci build]')"
|
if: "contains(github.event.commits[0].message, '[ci build]')"
|
||||||
|
@ -30,11 +26,11 @@ jobs:
|
||||||
# Note the current convention is to use the -S and -B options here to specify source
|
# Note the current convention is to use the -S and -B options here to specify source
|
||||||
# and build directories, but this is only available with CMake 3.13 and higher.
|
# and build directories, but this is only available with CMake 3.13 and higher.
|
||||||
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
|
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
|
||||||
run: cmake -S %GITHUB_WORKSPACE% -B %GITHUB_WORKSPACE%/build_x86 -DCMAKE_BUILD_TYPE=%BUILD_TYPE% -A Win32 -DBUILD_EXTENSION_IMGUIEXT=ON -DLUA_ENGINE=luajit
|
run: cmake -S %GITHUB_WORKSPACE% -B %GITHUB_WORKSPACE%/build_x86 -A Win32 -DBUILD_EXTENSION_IMGUIEXT=ON -DLUA_ENGINE=luajit
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: cmd
|
shell: cmd
|
||||||
# Execute the build. You can specify a specific target with "--target <NAME>"
|
# Execute the build. You can specify a specific target with "--target <NAME>"
|
||||||
run: |
|
run: |
|
||||||
cmake --build %GITHUB_WORKSPACE%/build_x86 --config %BUILD_TYPE% --target cpp-tests
|
cmake --build %GITHUB_WORKSPACE%/build_x86 --config Debug --target cpp-tests
|
||||||
cmake --build %GITHUB_WORKSPACE%/build_x86 --config %BUILD_TYPE% --target lua-tests
|
cmake --build %GITHUB_WORKSPACE%/build_x86 --config Release --target lua-tests
|
||||||
|
|
Loading…
Reference in New Issue