mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Update build-windows-msvc.yml
This commit is contained in:
parent
017d7abb63
commit
ea2cd337f4
1 changed files with 39 additions and 40 deletions
79
.github/workflows/build-windows-msvc.yml
vendored
79
.github/workflows/build-windows-msvc.yml
vendored
|
|
@ -5,48 +5,47 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [development]
|
branches: [development]
|
||||||
|
|
||||||
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:
|
||||||
runs-on: "windows-latest"
|
name: ${{ matrix.name }}
|
||||||
name: ${{matrix.name}}
|
runs-on: ${{ matrix.os }}
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
name: Windows Latest MSVC
|
||||||
- name: "TorqueWindows"
|
os: windows-latest
|
||||||
tests: true
|
build_type: "Release"
|
||||||
build_type: "Release"
|
cc: "cl"
|
||||||
cc: "cl"
|
cxx: "cl"
|
||||||
cxx: "cl"
|
environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/VC/Auxiliary/Build/vcvars64.bat"
|
||||||
bin: "./Torque3D.exe"
|
generators: "Visual Studio 16 2019"
|
||||||
environment_script: "C:/Program Files (x86)/Microsoft Visual Studio/2022/Enterprise/VC/Auxiliary/Build/vcvars64.bat",
|
|
||||||
generators: "Visual Studio 17 2022"
|
steps:
|
||||||
steps:
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- name: Print env
|
- name: Print env
|
||||||
run: |
|
run: |
|
||||||
echo github.event.action: ${{ github.event.action }}
|
echo github.event.action: ${{ github.event.action }}
|
||||||
echo github.event_name: ${{ github.event_name }}
|
echo github.event_name: ${{ github.event_name }}
|
||||||
|
|
||||||
- name: Setup MSVC problem matcher
|
- name: Setup MSVC problem matcher
|
||||||
uses: ammaraskar/msvc-problem-matcher@master
|
uses: ammaraskar/msvc-problem-matcher@master
|
||||||
|
|
||||||
- name: Install Windows MSVC Dependencies
|
- name: Install Windows MSVC Dependencies
|
||||||
run: |
|
run: |
|
||||||
choco install cmake
|
choco install cmake
|
||||||
cmake --version
|
cmake --version
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake \
|
run: cmake \
|
||||||
-B ${{github.workspace}}/build \
|
-B ${{ github.workspace }}/build \
|
||||||
-G "${{matrix.generators}}" \
|
-G "${{ matrix.generators }}" \
|
||||||
-DCMAKE_BUILD_TYPE=${{matrix.build_type}} \
|
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
|
||||||
-DTORQUE_APP_NAME=Torque3D \
|
-DTORQUE_APP_NAME=Torque3D \
|
||||||
-DTORQUE_TESTING=ON
|
-DTORQUE_TESTING=ON
|
||||||
|
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue