diff --git a/.github/workflows/vs16.yml b/.github/workflows/vs16.yml new file mode 100644 index 0000000..b385b02 --- /dev/null +++ b/.github/workflows/vs16.yml @@ -0,0 +1,47 @@ +name: vs19-ci + +on: + push: + branches: + - master + - feature/** + - improvement/** + - bugfix/** + + pull_request: + branches: + - master + - feature/** + - improvement/** + - bugfix/** + +jobs: + ci: + name: windows-vs19 + runs-on: windows-latest + defaults: + run: + shell: bash + strategy: + fail-fast: false + matrix: + include: + - {gen: Visual Studio 19 2019, install: git, arch: Win32} + - {gen: Visual Studio 19 2019, install: git, 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 }}