ssp/.github/workflows/vs16.yml

48 lines
986 B
YAML
Raw Normal View History

2021-02-22 01:12:59 +01:00
name: vs16-ci
on:
push:
branches:
- master
- feature/**
- improvement/**
- bugfix/**
pull_request:
branches:
- master
- feature/**
- improvement/**
- bugfix/**
jobs:
ci:
name: windows-vs16
runs-on: windows-latest
2021-02-22 01:36:30 +01:00
defaults:
run:
shell: msys2 {0}
2021-02-22 01:12:59 +01:00
strategy:
fail-fast: false
matrix:
include:
2021-02-22 01:30:38 +01:00
- {gen: Visual Studio 16 2019, install: git, arch: Win32}
- {gen: Visual Studio 16 2019, install: git, arch: x64}
2021-02-22 01:12:59 +01:00
steps:
- name: checkout
uses: actions/checkout@v2
- name: Install dependencies
run: script/ci_install_deps.sh
- name: Configure
run: cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug
- name: Build
run: cmake --build build -j ${{ steps.cores.outputs.count }}
- name: Run
working-directory: build
run: ctest --output-on-failure -j ${{ steps.cores.outputs.count }}