|
@@ -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}}
|
|
|
|
- cxx: ${{matrix.cxx}}
|
|
|
|
- build-type: ${{matrix.build_type}}
|
|
|
|
|
|
+ cc: "cl"
|
|
|
|
+ cxx: "cl"
|
|
|
|
+ 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
|