- PHP: "7.4"
- enable_debug: "yes"
- enable_maintainer_zts: "yes"
- enable_json: "yes"
- PQ_DSN: "postgres:///runner"
- runs-on: ubuntu-22.04
- steps:
- - uses: actions/checkout@v2
- with:
- submodules: true
- - name: Install
- run: |
- sudo apt-get install -y \
- php-cli \
- php-pear \
- libpq-dev \
- re2c
- - name: Prepare
- run: |
- make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
- make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
- - name: Build
- run: |
- make -f scripts/ci/Makefile ext PECL=pq
- - name: Prepare Test
- run: |
- sudo systemctl start postgresql
- sudo -u postgres createuser --login runner
- sudo -u postgres createdb -O runner runner
- - name: Test
- run: |
- make -f scripts/ci/Makefile test
-
- old-matrix-5:
- name: "old-matrix-5 (8.0)"
- env:
- PHP: "8.0"
- enable_debug: "yes"
- enable_maintainer_zts: "yes"
- enable_json: "yes"
- PQ_DSN: "postgres:///runner"
- runs-on: ubuntu-22.04
- steps:
- - uses: actions/checkout@v2
- with:
- submodules: true
- - name: Install
- run: |
- sudo apt-get install -y \
- php-cli \
- php-pear \
- libpq-dev \
- re2c
- - name: Prepare
- run: |
- make -f scripts/ci/Makefile php || make -f scripts/ci/Makefile clean php
- make -f scripts/ci/Makefile pecl PECL=m6w6/ext-raphf.git:raphf:master
- - name: Build
- run: |
- make -f scripts/ci/Makefile ext PECL=pq
- - name: Prepare Test
- run: |
- sudo systemctl start postgresql
- sudo -u postgres createuser --login runner
- sudo -u postgres createdb -O runner runner
- - name: Test
- run: |
- make -f scripts/ci/Makefile test
-
- old-matrix-6:
- name: "old-matrix-6 (8.1)"
- env:
- PHP: "8.1"