diff --git a/.github/workflows/compile-test.yml b/.github/workflows/compile-test.yml index 3517fc711..67772e7ff 100644 --- a/.github/workflows/compile-test.yml +++ b/.github/workflows/compile-test.yml @@ -15,14 +15,17 @@ jobs: php: "php7.4" php-config: "php-config7.4" cc: "gcc" + libpcre: [libpcre3-dev, libpcre2-dev] - os: ubuntu-22.04 php: "php8.1" php-config: "php-config8.1" cc: "gcc" + libpcre: [libpcre3-dev, libpcre2-dev] - os: ubuntu-22.04 php: "php8.1" php-config: "php-config8.1" cc: "clang" + libpcre: [libpcre3-dev, libpcre2-dev] runs-on: ${{ matrix.os }} @@ -35,7 +38,7 @@ jobs: run: | sudo apt update -qq sudo apt install --no-install-recommends -qqyf python3-dev \ - libxml2-dev libpcre2-dev libcap2-dev \ + libxml2-dev ${{ matrix.libpcre }} libcap2-dev \ libargon2-0-dev libsodium-dev \ ${{ matrix.php }}-dev lib${{ matrix.php }}-embed \ liblua5.1-0-dev ruby-dev \