mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Update build-windows-msvc.yml
This commit is contained in:
parent
d5367f26c4
commit
eba76d37ff
28
.github/workflows/build-windows-msvc.yml
vendored
28
.github/workflows/build-windows-msvc.yml
vendored
|
|
@ -47,24 +47,16 @@ jobs:
|
||||||
cmake --version
|
cmake --version
|
||||||
cmd "${{matrix.config.environment_script}}"
|
cmd "${{matrix.config.environment_script}}"
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure & Build
|
||||||
shell: bash
|
uses: threeal/cmake-action@v1.2.0
|
||||||
run: |
|
with:
|
||||||
mkdir build
|
source-dir: ${{github.workspace}}
|
||||||
cmake \
|
build-dir: ${{github.workspace}}/build
|
||||||
-S ${{github.workspace}} \
|
c-compiler: ${{matrix.config.cc}}
|
||||||
-B ${{github.workspace}}/build \
|
cxx-compiler: ${{matrix.config.cxx}}
|
||||||
-DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \
|
generator: ${{matrix.config.generator}}
|
||||||
-G "${{ matrix.config.generator }}" \
|
options: -DCMAKE_BUILD_TYPE=${{matrix.config.build_type}} -DTORQUE_APP_NAME=Torque3D -DTORQUE_TESTING=ON
|
||||||
-DTORQUE_APP_NAME=Torque3D -DTORQUE_TESTING=ON
|
run-build: true
|
||||||
|
|
||||||
- name: Build
|
|
||||||
shell: bash
|
|
||||||
run: cmake --build . --config ${{ matrix.config.build_type }}
|
|
||||||
|
|
||||||
- name: Install
|
|
||||||
shell: bash
|
|
||||||
run: cmake --install
|
|
||||||
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: cmake --install
|
run: cmake --install
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue