.github/workflows/c-cpp.yml
raw| 1 | name: C/C++ CI |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [ "main" ] |
| 6 | pull_request: |
| 7 | branches: [ "main" ] |
| 8 | |
| 9 | jobs: |
| 10 | build: |
| 11 | |
| 12 | runs-on: ubuntu-latest |
| 13 | |
| 14 | steps: |
| 15 | - uses: actions/checkout@v4 |
| 16 | - name: install check |
| 17 | run: sudo apt install -y check |
| 18 | - name: autoreconf |
| 19 | run: autoreconf --install |
| 20 | - name: configure |
| 21 | run: ./configure --with-check |
| 22 | - name: make |
| 23 | run: make |
| 24 | - name: make check |
| 25 | run: make check |
| 26 | - name: make distcheck |
| 27 | run: make distcheck |