mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-17 19:31:01 +00:00
test workflow
This commit is contained in:
parent
9a4d12e257
commit
055867a4e3
3 changed files with 70 additions and 94 deletions
51
.github/workflows/build-windows-msvc.yml
vendored
Normal file
51
.github/workflows/build-windows-msvc.yml
vendored
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
name: Windows Build MSVC
|
||||
on:
|
||||
push:
|
||||
branches: [development]
|
||||
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-falst: false
|
||||
matrix:
|
||||
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
|
||||
|
||||
- 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: 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
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue