mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 09:04:38 +00:00
Update build-windows-msvc.yml
This commit is contained in:
parent
dc3060c919
commit
3b799353cd
1 changed files with 4 additions and 9 deletions
13
.github/workflows/build-windows-msvc.yml
vendored
13
.github/workflows/build-windows-msvc.yml
vendored
|
|
@ -15,11 +15,6 @@ jobs:
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
|
||||||
build_type: "Release"
|
|
||||||
cc: "cl"
|
|
||||||
cxx: "cl"
|
|
||||||
environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: ilammy/msvc-dev-cmd@v1
|
- uses: ilammy/msvc-dev-cmd@v1
|
||||||
|
|
@ -34,16 +29,16 @@ jobs:
|
||||||
- name: Install Windows MSVC Dependencies
|
- name: Install Windows MSVC Dependencies
|
||||||
run: |
|
run: |
|
||||||
cmake --version
|
cmake --version
|
||||||
cmd "${{matrix.environment_script}}"
|
cmd "C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
|
||||||
|
|
||||||
- name: Configure Build & Install
|
- name: Configure Build & Install
|
||||||
uses: ashutoshvarma/action-cmake-build@v1
|
uses: ashutoshvarma/action-cmake-build@v1
|
||||||
with:
|
with:
|
||||||
build-dir: ${{github.workspace}}/build
|
build-dir: ${{github.workspace}}/build
|
||||||
# will set the CC & CXX for cmake
|
# will set the CC & CXX for cmake
|
||||||
cc: ${{matrix.cc}}
|
cc: "cl"
|
||||||
cxx: ${{matrix.cxx}}
|
cxx: "cl"
|
||||||
build-type: ${{matrix.build_type}}
|
build-type: "Release"
|
||||||
# Extra options pass to cmake while configuring project
|
# Extra options pass to cmake while configuring project
|
||||||
configure-options: -DTORQUE_APP_NAME=Torque3D -DTORQUE_TESTING=ON
|
configure-options: -DTORQUE_APP_NAME=Torque3D -DTORQUE_TESTING=ON
|
||||||
# install the build using cmake --install
|
# install the build using cmake --install
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue