From 78963938c7d77cea87ff6da9b39e9d21a4c98640 Mon Sep 17 00:00:00 2001 From: ado Date: Mon, 22 Feb 2021 01:12:59 +0100 Subject: [PATCH] add vs16-ci --- .github/workflows/msys2-clang.yml | 2 +- .github/workflows/vs16.yml | 44 +++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/vs16.yml diff --git a/.github/workflows/msys2-clang.yml b/.github/workflows/msys2-clang.yml index 766cd29..21a2abd 100644 --- a/.github/workflows/msys2-clang.yml +++ b/.github/workflows/msys2-clang.yml @@ -1,4 +1,4 @@ -name: msys2-gcc-ci +name: msys2-clang-ci on: push: diff --git a/.github/workflows/vs16.yml b/.github/workflows/vs16.yml new file mode 100644 index 0000000..4edbb84 --- /dev/null +++ b/.github/workflows/vs16.yml @@ -0,0 +1,44 @@ +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 + strategy: + fail-fast: false + matrix: + include: + - {gen: Visual Studio 16 2019, arch: Win32} + - {gen: Visual Studio 16 2019, arch: x64} + + 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 }}