Update build-windows-msvc.yml

This commit is contained in:
marauder2k7 2023-07-25 20:19:28 +01:00
parent 4fb85c75f0
commit 04184370cb

View file

@ -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