From 54d844e4f94facd70c005344967b5b4b0eb4131f Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 4 Sep 2024 08:18:23 +0200 Subject: EL-9 default PHP 8.0 is not a module --- .github/workflows/ci.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.github/workflows') 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 -- cgit