]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
ci: Fix CYGWIN build
authorMilan Broz <gmazyland@gmail.com>
Wed, 1 Apr 2026 12:24:44 +0000 (14:24 +0200)
committerTomas Mraz <tomas@openssl.foundation>
Fri, 3 Apr 2026 15:45:24 +0000 (17:45 +0200)
The build should run with -j4 option, but this option
was never propagated to run command (lost in Powershell).

Just set bash as shell here. This speedups CYGWIN CI build
significantly.

Signed-off-by: Milan Broz <gmazyland@gmail.com>
Reviewed-by: Dmitry Misharov <dmitry@openssl.org>
Reviewed-by: Neil Horman <nhorman@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.foundation>
MergeDate: Fri Apr  3 15:45:11 2026
(Merged from https://github.com/openssl/openssl/pull/30661)

(cherry picked from commit aab7adf85a66227ff5d0261999b8aca18953b5ad)

.github/workflows/windows.yml

index 8068c56080efc20680062ee4401b928391ffd67f..3ae12ae13f808ea078089ae0cd2788c9a0e9d20c 100644 (file)
@@ -220,7 +220,11 @@ jobs:
 #    - name: Clone repo
 #      run: bash -c "pwd && git clone --branch ${{ github.ref_name }} --depth 1 https://github.com/${{ github.repository }}.git"
     - name: Full build
-      run: bash -c "gcc --version && ./config ${{ matrix.platform.config }} && make $MAKE_PARAMS"
+      shell: bash
+      run: |
+        gcc --version
+        ./config ${{ matrix.platform.config }}
+        make $MAKE_PARAMS
 # Disable testing for now. TBD: Need local cygwin installation to debug .
 #    - name: Run openssl tests
 #      run: bash -c "cd openssl && make V=1 test"