mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Update build-windows-msvc.yml
This commit is contained in:
parent
40e33dcee9
commit
c489eb82af
1 changed files with 17 additions and 13 deletions
30
.github/workflows/build-windows-msvc.yml
vendored
30
.github/workflows/build-windows-msvc.yml
vendored
|
|
@ -4,25 +4,22 @@ on:
|
||||||
branches: [development]
|
branches: [development]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [development]
|
branches: [development]
|
||||||
|
env:
|
||||||
|
build_type: "Release"
|
||||||
|
cc: "cl"
|
||||||
|
cxx: "cl"
|
||||||
|
environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
|
||||||
|
generators: "Visual Studio 16 2019"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-windows
|
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-windows
|
||||||
cancel-in-progress: true
|
cancel-in-progress: true
|
||||||
jobs:
|
jobs:
|
||||||
build-windows:
|
build-windows:
|
||||||
name: ${{ matrix.name }}
|
name: Windows Latest MSVC
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: windows-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
|
||||||
name: Windows Latest MSVC
|
|
||||||
os: windows-latest
|
|
||||||
build_type: "Release"
|
|
||||||
cc: "cl"
|
|
||||||
cxx: "cl"
|
|
||||||
environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
|
|
||||||
generators: "Visual Studio 16 2019"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
|
@ -43,9 +40,16 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake \
|
run: cmake \
|
||||||
-B ${{ github.workspace }}/build \
|
-B ${{ github.workspace }}/build \
|
||||||
-G "${{ matrix.generators }}" \
|
-G "${{ env.generators }}" \
|
||||||
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
|
-DCMAKE_BUILD_TYPE=${{ env.build_type }} \
|
||||||
-DTORQUE_APP_NAME=Torque3D \
|
-DTORQUE_APP_NAME=Torque3D \
|
||||||
-DTORQUE_TESTING=ON
|
-DTORQUE_TESTING=ON
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
shell: bash
|
||||||
|
run: cmake --build . --config ${{ env.build_type}}
|
||||||
|
|
||||||
|
- name: Install
|
||||||
|
shell: bash
|
||||||
|
run: cmake --install
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue