.github/workflows/c-cpp.yml
raw| 1 | name: C/C++ CI |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [ master ] |
| 6 | pull_request: |
| 7 | branches: [ master ] |
| 8 | |
| 9 | jobs: |
| 10 | build: |
| 11 | |
| 12 | runs-on: ubuntu-latest |
| 13 | |
| 14 | steps: |
| 15 | - uses: actions/checkout@v2 |
| 16 | - name: cmake |
| 17 | run: cmake . |
| 18 | - name: make |
| 19 | run: make |
| 20 | - name: cmake tests |
| 21 | run: cmake . |
| 22 | working-directory: tests |
| 23 | - name: make tests |
| 24 | run: make |
| 25 | working-directory: tests |
| 26 | - name: run tests |
| 27 | run: ./tests --all |
| 28 | working-directory: tests |