diff options
| -rw-r--r-- | .github/workflows/c-cpp.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 00000000..b6eb2a50 --- /dev/null +++ b/.github/workflows/c-cpp.yml | |||
| @@ -0,0 +1,25 @@ | |||
| 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@v3 | ||
| 16 | - name: setup | ||
| 17 | run: ./tools/setup | ||
| 18 | - name: configure | ||
| 19 | run: ./configure | ||
| 20 | - name: make | ||
| 21 | run: make | ||
| 22 | - name: make check | ||
| 23 | run: make check | ||
| 24 | - name: make distcheck | ||
| 25 | run: make distcheck | ||
