]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Use a version of Xcode that supports ZERO_AR_DATE in pkgcheck script.
authorNathan Moinvaziri <nathan@solidstatenetworks.com>
Tue, 26 Jan 2021 00:20:56 +0000 (16:20 -0800)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Wed, 27 Jan 2021 13:52:42 +0000 (14:52 +0100)
.github/workflows/pkgcheck.yml

index 19b1fe113a8557484c5adeb46417b8797447c722..08fae6653429e440cec916f1d9f975a7a7986f1e 100644 (file)
@@ -69,6 +69,15 @@ jobs:
       env:
         HOMEBREW_NO_INSTALL_CLEANUP: 1
 
+    - name: Select Xcode version (macOS)
+      # Use a version of Xcode that supports ZERO_AR_DATE until CMake supports
+      # AppleClang linking with libtool using -D argument
+      # https://gitlab.kitware.com/cmake/cmake/-/issues/19852
+      if: runner.os == 'macOS'
+      uses: maxim-lobanov/setup-xcode@v1
+      with:
+        xcode-version: '12.1.1'
+
     - name: Compare builds
       run: |
         sh test/pkgcheck.sh