Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/clang-addresssanitizer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ jobs:
# building PHP from source with ASan linked works around the issue.
- name: Install PHP
run: |
wget https://www.php.net/distributions/php-8.5.12.tar.gz
tar xzf php-8.5.12.tar.gz
cd php-8.5.12
wget https://www.php.net/distributions/php-8.6.0.tar.gz
tar xzf php-8.6.0.tar.gz
cd php-8.6.0
./configure --with-openssl --with-curl --with-zlib --enable-mbstring --enable-intl --with-zip
make -j2
sudo make install
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/test-bundled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
fail-fast: false
matrix:
arch: ["amd64", "arm64v8"]
php-version: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
php-version: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6']
include:
- arch: amd64
runner: ubuntu-latest
Expand All @@ -57,6 +57,14 @@ jobs:
submodules: true
persist-credentials: false

# The image has PHP 7.2 to 8.5. For a newer PHP, setup-php installs a
# shivammathur/php-builder build, and that installs libmaxminddb-dev.
- name: Remove the libmaxminddb-dev that php-builder installs
run: |
if dpkg -s libmaxminddb-dev >/dev/null 2>&1; then
apt-get remove -y libmaxminddb-dev
fi

# We deliberately do not install libmaxminddb, and we do not set
# PKG_CONFIG_PATH, so that the build cannot silently fall back to a
# system library.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, ubuntu-24.04-arm]
php-version: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5']
php-version: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5', '8.6']
php-extension: ['bcmath', 'gmp']
include:
# The runner's PHP loads gmp by default, and the decoder uses gmp
Expand All @@ -23,9 +23,9 @@ jobs:
disabled-extensions: ':gmp'
# Two PHP versions on each OS are enough to find platform problems.
- { os: macos-latest, php-version: '8.1', php-extension: gmp }
- { os: macos-latest, php-version: '8.5', php-extension: gmp }
- { os: macos-latest, php-version: '8.6', php-extension: gmp }
- { os: windows-latest, php-version: '8.1', php-extension: gmp }
- { os: windows-latest, php-version: '8.5', php-extension: gmp }
- { os: windows-latest, php-version: '8.6', php-extension: gmp }

name: "PHP ${{ matrix.php-version }} (with ${{ matrix.php-extension }}) test on ${{ matrix.os }}"
defaults:
Expand Down
Loading