diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml new file mode 100644 index 00000000..b69f44ec --- /dev/null +++ b/.github/workflows/c-cpp.yml @@ -0,0 +1,25 @@ +name: C/C++ CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ ubuntu-16.04, ubuntu-latest ] + php: [ '7.4', '8.0' ] + steps: + - uses: actions/checkout@v2 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{ matrix.php }} + - name: make + run: make + - name: make install + run: sudo make install