build: separating c and c++ check-doc targets #321
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: Core C CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
jobs: | |
standard: | |
strategy: | |
fail-fast: false | |
matrix: | |
runs-on: [ubuntu-latest, macos-latest] | |
name: "💦 ${{ matrix.runs-on }}" | |
runs-on: ${{ matrix.runs-on }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: setup | |
if: runner.os == 'macos' | |
run: | | |
brew update | |
brew install autoconf automake | |
#- name: Setup libfec | |
# run: git clone https://github.com/jgaeddert/libfec.git && cd libfec && ./configure && make && sudo make install | |
- name: bootstrap | |
run: ./bootstrap.sh | |
- name: configure | |
run: ./configure | |
- name: make | |
run: make -j 2 | |
- name: make check-doc | |
run: make check-doc | |
- name: make check | |
run: make -j 2 check | |
- name: make install | |
run: sudo make install | |
- name: ldconfig (Linux) | |
if: runner.os == 'Linux' | |
run: sudo ldconfig | |
- name: make check-link | |
run: make check-link |