Add an initial version to github actions ci

This commit is contained in:
Matias De lellis
2023-02-22 20:55:37 -03:00
parent 231ab7d88e
commit 866828b325

23
.github/workflows/ci.yml vendored Normal file
View File

@@ -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"