]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Add 'diffoscope' for MacOS in pkgcheck.yml
authorMika Lindqvist <postmaster@raasu.org>
Thu, 24 Sep 2020 17:19:48 +0000 (20:19 +0300)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Fri, 9 Oct 2020 09:17:17 +0000 (11:17 +0200)
* Disable ABI check for MacOS as the runner doesn't contain abigail

.github/workflows/pkgcheck.yml

index b825ce93da953ae22bde34435635ed42438d688c..2e189edc1396069f8554d445772777b09cc1e88f 100644 (file)
@@ -74,7 +74,7 @@ jobs:
     - name: Install packages (macOS)
       if: runner.os == 'macOS'
       run: |
-        brew install ninja ${{ matrix.packages }}
+        brew install ninja diffoscope ${{ matrix.packages }}
 
     - name: Compare builds
       run: |
@@ -97,6 +97,8 @@ jobs:
         LDFLAGS: ${{ matrix.ldflags }}
 
     - name: Check ABI
+      # macOS runner does not contain abigail
+      if: runner.os != 'macOS'
       run: |
         sh test/abicheck.sh --refresh_if
       env:
@@ -106,6 +108,8 @@ jobs:
         LDFLAGS: ${{ matrix.ldflags }}
 
     - name: Check ABI (compat)
+      # macOS runner does not contain abigail
+      if: runner.os != 'macOS'
       run: |
         if test "$CHOST" = "powerpc-linux-gnu" || test "$CFLAGS" = "-m32"; then echo "SKIP 32 bit compat broken, see issue 705"; else sh test/abicheck.sh --zlib-compat --refresh_if; fi
       env: