Skip to content

Commit 1c8b23e

Browse files
committed
compile-test with both pcre1 and pcre2
1 parent 295cbb3 commit 1c8b23e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/compile-test.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13+
libpcre: ["libpcre3-dev", "libpcre2-dev"]
14+
os: ["ubuntu-20.04", "ubuntu-22.04"]
15+
cc: [gcc, clang]
1316
include:
1417
- os: ubuntu-20.04
1518
php: "php7.4"
1619
php-config: "php-config7.4"
17-
cc: "gcc"
18-
- os: ubuntu-22.04
19-
php: "php8.1"
20-
php-config: "php-config8.1"
21-
cc: "gcc"
2220
- os: ubuntu-22.04
2321
php: "php8.1"
2422
php-config: "php-config8.1"
23+
exclude:
24+
- os: ubuntu-20.04
2525
cc: "clang"
2626

2727
runs-on: ${{ matrix.os }}
@@ -35,7 +35,7 @@ jobs:
3535
run: |
3636
sudo apt update -qq
3737
sudo apt install --no-install-recommends -qqyf python3-dev \
38-
libxml2-dev libpcre2-dev libcap2-dev \
38+
libxml2-dev ${{ matrix.libpcre }} libcap2-dev \
3939
libargon2-0-dev libsodium-dev \
4040
${{ matrix.php }}-dev lib${{ matrix.php }}-embed \
4141
liblua5.1-0-dev ruby-dev \

0 commit comments

Comments
 (0)