mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 13:05:20 +01:00
Fix msvc ci configure step
This commit is contained in:
parent
f762736da2
commit
d6bc8086b2
9
.github/workflows/win-latest-msvc.yaml
vendored
9
.github/workflows/win-latest-msvc.yaml
vendored
@ -17,10 +17,16 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
ci:
|
ci:
|
||||||
|
if: >-
|
||||||
|
! contains(toJSON(github.event.commits.*.message), '[skip ci]') &&
|
||||||
|
! contains(toJSON(github.event.commits.*.message), '[skip github]')
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
@ -29,6 +35,7 @@ jobs:
|
|||||||
platform: [Win32, x64]
|
platform: [Win32, x64]
|
||||||
|
|
||||||
name: "${{matrix.vs}}:${{matrix.platform}}:${{matrix.build}}"
|
name: "${{matrix.vs}}:${{matrix.platform}}:${{matrix.build}}"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout
|
- name: checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
@ -37,7 +44,7 @@ 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.vs }} -A ${{ matrix.platform }} -D CMAKE_BUILD_TYPE=${{ matrix.build }}
|
run: cmake -S test -B build -G "${{ matrix.vs }}" -A ${{ matrix.platform }} -D CMAKE_BUILD_TYPE=${{ matrix.build }}
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build -j ${{ steps.cores.outputs.count }}
|
run: cmake --build build -j ${{ steps.cores.outputs.count }}
|
||||||
|
Loading…
Reference in New Issue
Block a user