diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..ddc74d6 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,22 @@ +name: C/C++ CI + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: dependencies + run: sudo apt update && sudo apt install -y autoconf make gcc lcov check pkg-config + - name: configure + run: sh autogen.sh && ./configure + - name: make + run: make + - name: maketest + run: make test