From ea2cd337f46deb6fbb150abd6d4713a7e5d09d55 Mon Sep 17 00:00:00 2001 From: marauder2k7 Date: Tue, 25 Jul 2023 19:36:30 +0100 Subject: [PATCH] Update build-windows-msvc.yml --- .github/workflows/build-windows-msvc.yml | 79 ++++++++++++------------ 1 file changed, 39 insertions(+), 40 deletions(-) diff --git a/.github/workflows/build-windows-msvc.yml b/.github/workflows/build-windows-msvc.yml index 86fa8ce22..e79e172de 100644 --- a/.github/workflows/build-windows-msvc.yml +++ b/.github/workflows/build-windows-msvc.yml @@ -5,48 +5,47 @@ on: pull_request: branches: [development] - concurrency: - group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-windows - cancel-in-progress: true - jobs: - build-windows: - runs-on: "windows-latest" - name: ${{matrix.name}} - strategy: - fail-fast: false - matrix: - include: - - name: "TorqueWindows" - tests: true - build_type: "Release" - cc: "cl" - cxx: "cl" - bin: "./Torque3D.exe" - environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat", - generators: "Visual Studio 17 2022" - steps: - - uses: actions/checkout@v3 +concurrency: + group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-windows + cancel-in-progress: true +jobs: + build-windows: + name: ${{ matrix.name }} + runs-on: ${{ matrix.os }} + strategy: + 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: + - uses: actions/checkout@v3 - - name: Print env - run: | - echo github.event.action: ${{ github.event.action }} - echo github.event_name: ${{ github.event_name }} + - name: Print env + run: | + echo github.event.action: ${{ github.event.action }} + echo github.event_name: ${{ github.event_name }} - - name: Setup MSVC problem matcher - uses: ammaraskar/msvc-problem-matcher@master + - name: Setup MSVC problem matcher + uses: ammaraskar/msvc-problem-matcher@master - - name: Install Windows MSVC Dependencies - run: | - choco install cmake - cmake --version + - name: Install Windows MSVC Dependencies + run: | + choco install cmake + cmake --version - - name: Configure - shell: bash - run: cmake \ - -B ${{github.workspace}}/build \ - -G "${{matrix.generators}}" \ - -DCMAKE_BUILD_TYPE=${{matrix.build_type}} \ - -DTORQUE_APP_NAME=Torque3D \ - -DTORQUE_TESTING=ON - + - name: Configure + shell: bash + run: cmake \ + -B ${{ github.workspace }}/build \ + -G "${{ matrix.generators }}" \ + -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \ + -DTORQUE_APP_NAME=Torque3D \ + -DTORQUE_TESTING=ON + \ No newline at end of file