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 cmake --version
cmd "${{env.environment_script}}" cmd "${{env.environment_script}}"
- name: Configure - name: Build & Test
shell: bash uses: ashutoshvarma/action-cmake-build@master
run: cmake -B ${{github.workspace}}/build -G "${{env.generators}}" -DCMAKE_BUILD_TYPE=${{env.build_type}} -DTORQUE_APP_NAME=Torque3D -DTORQUE_TESTING=ON with:
build-dir: ${{github.workspace}}/build
- name: Build # will set the CC & CXX for cmake
shell: bash cc: ${{env.cc}}
run: cmake --build . --config ${{ env.build_type}} cxx: ${{env.cxx}}
build-type: ${{env.build_type}}
- name: Install # Extra options pass to cmake while configuring project
shell: bash configure-options: -DTORQUE_APP_NAME=Torque3D -DTORQUE_TESTING=ON
run: cmake --install # install the build using cmake --install
install-build: true
# run build using '-j [parallel]' to use multiple threads to build
parallel: 14