Skip to content

Commit

Permalink
Add support for Ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed May 5, 2022
1 parent 6a6329b commit 920ec83
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
strategy:
fail-fast: false
matrix:
operating-system: [ubuntu-20.04, ubuntu-18.04]
operating-system: [ubuntu-22.04, ubuntu-20.04, ubuntu-18.04]
php-versions: ['5.3', '5.4', '5.5']
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/zstd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
fail-fast: false
matrix:
container: [20.04, 18.04]
container: [22.04, 20.04, 18.04]
if: "!contains(github.event.head_commit.message, 'skip-build')"
steps:
- name: Checkout
Expand Down
Binary file added deps/22.04/libenchant1c2a_1.6.0-7_amd64.deb
Binary file not shown.
Binary file added deps/22.04/libhunspell-1.3-0_1.3.2-4_amd64.deb
Binary file not shown.
Binary file not shown.
Binary file added deps/22.04/multiarch-support_2.28-10_amd64
Binary file not shown.
2 changes: 1 addition & 1 deletion scripts/install-php.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
debconf_fix="DEBIAN_FRONTEND=noninteractive"
dpkg_install="sudo $debconf_fix dpkg -i --force-conflicts --force-overwrite"
sudo mkdir -p /var/run /run/php /usr/local/php /usr/lib/systemd/system /usr/lib/cgi-bin /var/www/html
[ "$VERSION_ID" = "20.04" ] && $dpkg_install ./deps/20.04/multiarch-support_2.28-10_amd64
[[ "$VERSION_ID" = "20.04" || "$VERSION_ID" = "22.04" ]] && $dpkg_install ./deps/"$VERSION_ID"/multiarch-support_2.28-10_amd64
$dpkg_install ./deps/"$VERSION_ID"/*.deb
$dpkg_install ./deps/all/*.deb
sudo tar -I zstd -xf ./php-@[email protected] -C /usr/local/php
Expand Down

0 comments on commit 920ec83

Please sign in to comment.