]> granicus.if.org Git - php/commitdiff
Update libzip on macos
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 18 Jun 2020 14:25:16 +0000 (16:25 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 18 Jun 2020 15:12:23 +0000 (17:12 +0200)
We need libzip 1.7.1, because libzip 1.7.0 is broken.

Closes GH-5737.

azure/macos/brew.yml

index df4c5a532d740a89682837798f0ec97678afbd9e..02cb736d0262ea11e03f5c6cc6417fab2863e1a6 100644 (file)
@@ -2,6 +2,8 @@ parameters:
   packages: ''
 
 steps:
+  - script: brew update
+    displayName: 'Update Homebrew'
   - script: |
       brew install pkg-config \
                    autoconf \
@@ -23,11 +25,12 @@ steps:
                    zlib \
                    t1lib \
                    gd \
-                   libzip \
                    gmp \
                    tidyp \
                    libxml2 \
                    libxslt \
                    postgresql
+      # Make sure we don't get broken libzip 1.7.0
+      brew upgrade libzip
       brew link icu4c gettext --force
     displayName: 'Install Build Dependencies'