github: check: print logs in case of errors #484
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: C/C++ CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
debug: [enable-debug, disable-debug] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: dependencies | |
run: sudo apt-get -y install autoconf-archive pandoc git libell-dev | |
- name: bootstrap | |
run: ./bootstrap | |
- name: configure | |
run: ./configure --${{ matrix.debug }} | |
- name: make | |
run: make -j$(nproc) | |
- name: make check | |
run: make check || { cat tests/test-suite.log; exit 1; } | |
- name: make distcheck | |
run: make distcheck | |
- name: make install | |
run: sudo make install | |
- name: make installcheck | |
run: LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH make installcheck | |
- name: make uninstall | |
run: sudo make uninstall |