ssp/.github/workflows/vs16.yml

49 lines
1023 B
YAML
Raw Normal View History

2021-02-25 00:23:00 +01:00
name: vs19-ci
on:
push:
branches:
- master
- feature/**
- improvement/**
- bugfix/**
pull_request:
branches:
- master
- feature/**
- improvement/**
- bugfix/**
jobs:
ci:
2021-02-25 00:36:26 +01:00
defaults:
run:
shell: bash
2021-02-25 00:33:25 +01:00
runs-on: ${{matrix.config.os}}
2021-02-25 00:23:00 +01:00
strategy:
fail-fast: false
matrix:
2021-02-25 00:33:25 +01:00
config:
2021-02-25 00:43:29 +01:00
- { os: windows-2020, vs: "Visual Studio 2020" }
2021-02-25 00:33:25 +01:00
build: [Debug, Release]
platform: [Win32, x64]
2021-02-25 00:23:00 +01:00
2021-02-25 00:33:25 +01:00
name: "${{matrix.config.vs}}:${{matrix.platform}}:${{matrix.build}}"
2021-02-25 00:23:00 +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 }}