Skip to content

Commit 920ec83

Browse files
committed
Add support for Ubuntu 22.04
1 parent 6a6329b commit 920ec83

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
strategy:
7373
fail-fast: false
7474
matrix:
75-
operating-system: [ubuntu-20.04, ubuntu-18.04]
75+
operating-system: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04]
7676
php-versions: ['5.3', '5.4', '5.5']
7777
steps:
7878
- name: Checkout

.github/workflows/zstd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
container: [20.04, 18.04]
11+
container: [22.04, 20.04, 18.04]
1212
if: "!contains(github.event.head_commit.message, 'skip-build')"
1313
steps:
1414
- name: Checkout
77.6 KB
Binary file not shown.
138 KB
Binary file not shown.
Binary file not shown.
210 KB
Binary file not shown.

scripts/install-php.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
debconf_fix="DEBIAN_FRONTEND=noninteractive"
33
dpkg_install="sudo $debconf_fix dpkg -i --force-conflicts --force-overwrite"
44
sudo mkdir -p /var/run /run/php /usr/local/php /usr/lib/systemd/system /usr/lib/cgi-bin /var/www/html
5-
[ "$VERSION_ID" = "20.04" ] && $dpkg_install ./deps/20.04/multiarch-support_2.28-10_amd64
5+
[[ "$VERSION_ID" = "20.04" || "$VERSION_ID" = "22.04" ]] && $dpkg_install ./deps/"$VERSION_ID"/multiarch-support_2.28-10_amd64
66
$dpkg_install ./deps/"$VERSION_ID"/*.deb
77
$dpkg_install ./deps/all/*.deb
88
sudo tar -I zstd -xf ./php-@[email protected] -C /usr/local/php

0 commit comments

Comments
 (0)