mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Update build-windows-msvc.yml
This commit is contained in:
parent
4fb85c75f0
commit
04184370cb
25
.github/workflows/build-windows-msvc.yml
vendored
25
.github/workflows/build-windows-msvc.yml
vendored
|
|
@ -37,15 +37,18 @@ jobs:
|
|||
cmake --version
|
||||
cmd "${{env.environment_script}}"
|
||||
|
||||
- name: Configure
|
||||
shell: bash
|
||||
run: cmake -B ${{github.workspace}}/build -G "${{env.generators}}" -DCMAKE_BUILD_TYPE=${{env.build_type}} -DTORQUE_APP_NAME=Torque3D -DTORQUE_TESTING=ON
|
||||
|
||||
- name: Build
|
||||
shell: bash
|
||||
run: cmake --build . --config ${{ env.build_type}}
|
||||
|
||||
- name: Install
|
||||
shell: bash
|
||||
run: cmake --install
|
||||
- name: Build & Test
|
||||
uses: ashutoshvarma/action-cmake-build@master
|
||||
with:
|
||||
build-dir: ${{github.workspace}}/build
|
||||
# will set the CC & CXX for cmake
|
||||
cc: ${{env.cc}}
|
||||
cxx: ${{env.cxx}}
|
||||
build-type: ${{env.build_type}}
|
||||
# Extra options pass to cmake while configuring project
|
||||
configure-options: -DTORQUE_APP_NAME=Torque3D -DTORQUE_TESTING=ON
|
||||
# install the build using cmake --install
|
||||
install-build: true
|
||||
# run build using '-j [parallel]' to use multiple threads to build
|
||||
parallel: 14
|
||||
|
||||
Loading…
Reference in a new issue