Skip to content

Commit 55af289

Browse files
authored
fix: CI on PHP 8.1 with Alpine Linux (#21)
1 parent 312d77b commit 55af289

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
run: |
3838
docker compose run --rm shell library_test
3939
- name: Test extension with PHP Debug Build
40-
if: matrix.platform == 'linux/amd64'
40+
if: matrix.platform == 'linux/amd64' && matrix.version != '8.1'
4141
run: |
4242
docker compose run --rm shell pskel test debug
4343
- name: Test extension with Valgrind
44-
if: matrix.platform == 'linux/amd64'
44+
if: matrix.platform == 'linux/amd64' && matrix.version != '8.1'
4545
run: |
4646
docker compose run --rm shell pskel test valgrind
4747
- name: Test extension with LLVM Sanitizer (MemorySanitizer)

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ RUN docker-php-source extract \
2222
&& update-alternatives --install "/usr/bin/clang" clang "/usr/bin/clang-19" 100 \
2323
&& update-alternatives --install "/usr/bin/clang++" clang++ "/usr/bin/clang++-19" 100; \
2424
else \
25-
apk add --no-cache "bison" "zlib-dev" "sqlite-dev" "libxml2-dev" \
25+
apk add --no-cache "bison" "zlib-dev" "sqlite-dev" "libxml2-dev" "linux-headers" \
2626
"autoconf" "pkgconfig" "make" "gcc" "g++" "valgrind" "valgrind-dev" \
2727
"musl-dev" "rsync" "git" "openssh" \
2828
"patch" "lcov" "gzip"; \

0 commit comments

Comments
 (0)