]> jfr.im git - irc/weechat/weechat.git/commitdiff
ci: uninstall php8.1-imagick before build (issue #2009) master
authorSébastien Helleu <redacted>
Sat, 28 Oct 2023 07:07:56 +0000 (09:07 +0200)
committerSébastien Helleu <redacted>
Sat, 28 Oct 2023 07:08:33 +0000 (09:08 +0200)
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.

.github/workflows/ci.yml

index a5e0ef1e012f96ef765c136ae463649160fa6a91..b93d5ea293ad9619394fc269b027111204854a8a 100644 (file)
@@ -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