mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 13:05:20 +01:00
try make msys2.yml run unit tests
This commit is contained in:
parent
f3e6996818
commit
208914ff96
32
.github/workflows/msys2.yml
vendored
32
.github/workflows/msys2.yml
vendored
@ -1,6 +1,19 @@
|
|||||||
name: MSYS2-CI
|
name: MSYS2-CI
|
||||||
|
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- feature/**
|
||||||
|
- improvement/**
|
||||||
|
- bugfix/**
|
||||||
|
|
||||||
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
- feature/**
|
||||||
|
- improvement/**
|
||||||
|
- bugfix/**
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
windows-mingw:
|
windows-mingw:
|
||||||
@ -35,13 +48,16 @@ jobs:
|
|||||||
update: true
|
update: true
|
||||||
msystem: ${{ matrix.msystem }}
|
msystem: ${{ matrix.msystem }}
|
||||||
install: ${{ matrix.install }}
|
install: ${{ matrix.install }}
|
||||||
- name: Fetch doctest
|
|
||||||
|
- name: Install dependencies
|
||||||
run: script/ci_install_deps.sh
|
run: script/ci_install_deps.sh
|
||||||
- name: Prepare build dir
|
|
||||||
run: mkdir build
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
run: cd build && cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} ..
|
run: cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build
|
run: cmake --build build -j ${{ steps.cores.outputs.count }}
|
||||||
- name: Run basic tests
|
|
||||||
run: cd build && ctest --output-on-failure -R basictest
|
- name: Run
|
||||||
|
working-directory: build
|
||||||
|
run: ctest --output-on-failure -j ${{ steps.cores.outputs.count }}
|
||||||
|
Loading…
Reference in New Issue
Block a user