]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Collapse workflow multiline run actions into single line.
authorNathan Moinvaziri <nathan@nathanm.com>
Sun, 19 Jun 2022 20:17:02 +0000 (13:17 -0700)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Mon, 15 Aug 2022 14:41:52 +0000 (16:41 +0200)
.github/workflows/analyze.yml
.github/workflows/cmake.yml
.github/workflows/libpng.yml
.github/workflows/pkgcheck.yml
.github/workflows/release.yml

index 31d9ff9912345cad3671090747fd0cf054cbbb66..b52c8490df4ef14438598c2d9a7953d934e9298b 100644 (file)
@@ -9,8 +9,7 @@ jobs:
       uses: actions/checkout@v3
 
     - name: Install packages (Ubuntu)
-      run: |
-        sudo apt-get install -y gcc-10
+      run: sudo apt-get install -y gcc-10
 
     - name: Generate project files
       run: |
@@ -21,8 +20,7 @@ jobs:
         CI: true
 
     - name: Compile source code
-      run: |
-        cmake --build . --config Release > /dev/null
+      run: cmake --build . --config Release > /dev/null
 
   Clang:
     runs-on: ubuntu-latest
@@ -31,8 +29,7 @@ jobs:
       uses: actions/checkout@v3
 
     - name: Install packages (Ubuntu)
-      run: |
-        sudo apt-get install clang-tools -y
+      run: sudo apt-get install clang-tools -y
 
     - name: Generate project files
       run: |
index c97fd0deb2c1dfc8bb2a754d9d08b5ef76197f13..dcdfee240b1c2b80cd68203b2c66cfd5b60cd587 100644 (file)
@@ -413,8 +413,7 @@ jobs:
 
     - name: Add repositories (Wine)
       if: contains(matrix.packages, 'wine')
-      run: |
-        sudo dpkg --add-architecture i386
+      run: sudo dpkg --add-architecture i386
 
     - name: Install packages (Ubuntu)
       if: runner.os == 'Linux' && matrix.packages
@@ -427,21 +426,19 @@ jobs:
       run: |
         # strawberryperl installs /c/Strawberry/c/bin/libstdc++-6.dll, which is incompatible with the mingw64 one.
         # zlib-ng does not need perl, so simply remove it.
-        choco uninstall strawberryperl --no-progress
-        choco install ninja ${{ matrix.packages }} --no-progress
+        choco uninstall --no-progress strawberryperl
+        choco install --no-progress ninja ${{ matrix.packages }}
 
     - name: Install packages (macOS)
       if: runner.os == 'macOS'
-      run: |
-        brew install ninja ${{ matrix.packages }}
+      run: brew install ninja ${{ matrix.packages }}
       env:
         HOMEBREW_NO_INSTALL_CLEANUP: 1
 
     - name: Initialize Wine
       # Prevent parallel test jobs from initializing Wine at the same time
       if: contains(matrix.packages, 'wine')
-      run: |
-        wineboot --init
+      run: wineboot --init
 
     - name: Compile LLVM C++ libraries (MSAN)
       if: contains(matrix.name, 'MSAN')
index 6af5ed00e4f8a46c62d296d06e1edd7ba98c88a2..f25f16865db53ac14803023e502cc35f06c2f461 100644 (file)
@@ -17,8 +17,7 @@ jobs:
         CI: true
 
     - name: Compile source code (zlib-ng)
-      run: |
-        cmake --build . --config Release
+      run: cmake --build . --config Release
 
     - name: Checkout repository (libpng)
       uses: actions/checkout@v3
index 9511af99525ffec10ea1fae657c9f4320fb92b2d..105f50a6637ce9cda365fb22e645c596b48ee2ac 100644 (file)
@@ -86,8 +86,7 @@ jobs:
 
     - name: Install packages (macOS)
       if: runner.os == 'macOS'
-      run: |
-        brew install ninja diffoscope ${{ matrix.packages }}
+      run: brew install ninja diffoscope ${{ matrix.packages }}
       env:
         HOMEBREW_NO_INSTALL_CLEANUP: 1
 
@@ -101,8 +100,7 @@ jobs:
         xcode-version: '11.7.0'
 
     - name: Compare builds
-      run: |
-        sh test/pkgcheck.sh
+      run: sh test/pkgcheck.sh
       env:
         CC: ${{ matrix.compiler }}
         CXX: ${{ matrix.cxx-compiler }}
@@ -114,8 +112,7 @@ jobs:
         LDFLAGS: ${{ matrix.ldflags }}
 
     - name: Compare builds (compat)
-      run: |
-        sh test/pkgcheck.sh --zlib-compat
+      run: sh test/pkgcheck.sh --zlib-compat
       env:
         CC: ${{ matrix.compiler }}
         CFLAGS: ${{ matrix.cflags }}
@@ -127,8 +124,7 @@ jobs:
     - name: Check ABI
       # macOS runner does not contain abigail
       if: runner.os != 'macOS'
-      run: |
-        sh test/abicheck.sh --refresh-if
+      run: sh test/abicheck.sh --refresh-if
       env:
         CC: ${{ matrix.compiler }}
         CXX: ${{ matrix.cxx-compiler }}
@@ -142,8 +138,7 @@ jobs:
     - name: Check ABI (compat)
       # macOS runner does not contain abigail
       if: runner.os != 'macOS'
-      run: |
-        sh test/abicheck.sh --zlib-compat --refresh-if
+      run: sh test/abicheck.sh --zlib-compat --refresh-if
       env:
         CC: ${{ matrix.compiler }}
         CXX: ${{ matrix.cxx-compiler }}
index a84051c1cfd38442db5a802a49bb2c977b3ab42c..63649fda4b28f4344a6aecd853a39ced9dc14bd0 100644 (file)
@@ -75,8 +75,7 @@ jobs:
         CI: true
 
     - name: Compile source code
-      run: |
-        cmake --build . --config Release --target install
+      run: cmake --build . --config Release --target install
 
     - name: Package release (Windows)
       if: runner.os == 'Windows'