summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-09-04 08:18:23 +0200
committerRemi Collet <remi@php.net>2024-09-04 08:18:23 +0200
commit54d844e4f94facd70c005344967b5b4b0eb4131f (patch)
tree6fc503d94ddd88bba6b82a3178e4683c406757f0
parent5735e67e51752214b8933eb43b99cfcf9df5b415 (diff)
EL-9 default PHP 8.0 is not a module
-rw-r--r--.github/workflows/ci.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index bdef1ba..45b61a4 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -11,16 +11,19 @@ jobs:
matrix:
distro: ['rockylinux']
el: [9]
- php: ['8.0', '8.1', '8.2', 'remi-8.0', 'remi-8.1', 'remi-8.2', 'remi-8.3']
+ php: [0, '8.1', '8.2', 'remi-8.0', 'remi-8.1', 'remi-8.2', 'remi-8.3']
container:
image: ${{ matrix.distro }}:${{ matrix.el }}
steps:
- name: Checkout
uses: actions/checkout@v4
- - name: Install PHP
+ - name: Setup PHP module
+ if: ${{ matrix.php }}
run: |
dnf install -y "https://rpms.remirepo.net/enterprise/remi-release-${{ matrix.el }}.rpm"
dnf module enable -y "php:${{ matrix.php }}"
+ - name: Install PHP
+ run: |
dnf install -y "php" "php-devel" "libxcrypt-devel"
- name: Show PHP version
run: php -v