Skip to content

Commit

Permalink
Update build-windows-msvc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marauder2k7 committed Jul 26, 2023
1 parent d5367f2 commit eba76d3
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions .github/workflows/build-windows-msvc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,24 +47,16 @@ jobs:
cmake --version
cmd "${{matrix.config.environment_script}}"
- name: Configure
shell: bash
run: |
mkdir build
cmake \
-S ${{github.workspace}} \
-B ${{github.workspace}}/build \
-DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \
-G "${{ matrix.config.generator }}" \
-DTORQUE_APP_NAME=Torque3D -DTORQUE_TESTING=ON
- name: Build
shell: bash
run: cmake --build . --config ${{ matrix.config.build_type }}

- name: Install
shell: bash
run: cmake --install
- name: Configure & Build
uses: threeal/[email protected]
with:
source-dir: ${{github.workspace}}
build-dir: ${{github.workspace}}/build
c-compiler: ${{matrix.config.cc}}
cxx-compiler: ${{matrix.config.cxx}}
generator: ${{matrix.config.generator}}
options: -DCMAKE_BUILD_TYPE=${{matrix.config.build_type}} -DTORQUE_APP_NAME=Torque3D -DTORQUE_TESTING=ON
run-build: true

- name: Install
run: cmake --install
Expand Down

0 comments on commit eba76d3

Please sign in to comment.