Joachim Nilsson 731078325a Dump contents of certain log files on build failure
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-12-16 09:35:56 +01:00

22 lines
491 B
YAML

name: C/C++ CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: configure
run: ./autogen.sh && ./configure
- name: build
run: make
- name: test
run: make check || (cat test/test-suite.log; cat test/start.log; cat test/remote.log; false)
# - name: clang-tidy check
# uses: muxee/clang-tidy-action@0.0.1-rc1
# - name: SonarCloud Scan
# uses: SonarSource/sonarcloud-github-action@v1.1