From 866828b3259f3389d97c805d23017d3e83523a57 Mon Sep 17 00:00:00 2001 From: Matias De lellis Date: Wed, 22 Feb 2023 20:55:37 -0300 Subject: [PATCH] Add an initial version to github actions ci --- .github/workflows/ci.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..4451b08 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,23 @@ +name: Build and Test +on: [push, pull_request] +jobs: + ubuntu: + strategy: + matrix: + version: ["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"] + runs-on: ubuntu-22.04 + steps: + - name: Checkout pdlib + uses: actions/checkout@v3 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: ${{matrix.version}} + - name: phpize + run: phpize + - name: configure + run: ./configure + - name: make + run: make + - name: test + run: make test TESTS="--show-diff tests"