mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 13:05:20 +01:00
Fix msvc ci yaml issues
This commit is contained in:
parent
bdfd896861
commit
b7f6009eb9
19
.github/workflows/win-msvc.yml
vendored
19
.github/workflows/win-msvc.yml
vendored
@ -25,17 +25,17 @@ jobs:
|
|||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
runs-on: {{ matrix.config.os }}
|
runs-on: ${{ matrix.config.os }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
config:
|
config:
|
||||||
- os: windows-2019
|
- os: windows-2019
|
||||||
vs: "Visual Studio 16 2019"
|
vs: "Visual Studio 16 2019"
|
||||||
|
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
vs: "Visual Studio 17 2022"
|
vs: "Visual Studio 17 2022"
|
||||||
|
|
||||||
build: [Debug, Release]
|
build: [Debug, Release]
|
||||||
platform: [Win32, x64]
|
platform: [Win32, x64]
|
||||||
@ -50,11 +50,14 @@ jobs:
|
|||||||
run: script/ci_install_deps.sh
|
run: script/ci_install_deps.sh
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: cmake -S test -B build -G "${{ matrix.config.vs }}" -A ${{ matrix.platform }} --config ${{ matrix.build }}
|
run: >-
|
||||||
|
cmake -S test -B build -G "${{matrix.config.vs}}"
|
||||||
|
-A ${{matrix.platform}} --config ${{matrix.build}}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build -j ${{ steps.cores.outputs.count }}
|
run: cmake --build build -j ${{steps.cores.outputs.count}}
|
||||||
|
|
||||||
- name: Run
|
- name: Run
|
||||||
working-directory: build
|
working-directory: build
|
||||||
run: ctest -C Debug --output-on-failure -j ${{ steps.cores.outputs.count }}
|
run: >-
|
||||||
|
ctest -C Debug --output-on-failure -j ${{steps.cores.outputs.count}}
|
||||||
|
Loading…
Reference in New Issue
Block a user