diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-10-28 09:07:56 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-10-28 09:08:33 +0200 |
commit | 7406c8b94c32531abaa4907d7857b2a008405eff (patch) | |
tree | 1a44df2bf6728cdb3c2ccd99dce1ac4bd0fdf588 | |
parent | 5c41d6c4a48f2b23f76e15b61a81129bbf6ad082 (diff) | |
download | weechat-7406c8b94c32531abaa4907d7857b2a008405eff.zip |
ci: uninstall php8.1-imagick before build (issue #2009)
When php imagick is installed and when WeeChat is compiled with gcc, there's a
crash when the php plugin is loaded. Newer versions of gcc should fix the
issue, but as in CI we can't easily use them, uninstalling imagick avoids the
crash.
-rw-r--r-- | .github/workflows/ci.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a5e0ef1e0..b93d5ea29 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,6 +34,8 @@ jobs: run: | sudo apt-get update -qq sudo apt-get --yes --no-install-recommends install ${{ env.WEECHAT_DEPENDENCIES }} + # uninstall php imagick as is causes a crash when loading php plugin (see #2009) + sudo apt-get --yes purge php8.1-imagick sudo -H pip3 install --ignore-installed msgcheck - name: Check gettext files |