Commit 8449ecf09a for openssl.org
commit 8449ecf09a6a6351d89ea4b7b6a19b73cf3dd198
Author: Milan Broz <gmazyland@gmail.com>
Date: Thu Apr 16 09:14:45 2026 +0200
ci: Add MINGW64 build
MINGW64 is supported platfrom but not covered in CI.
This patch adds trivial rebuild test, for now without strict
warnings (need to be fixed later).
Fixes: https://github.com/openssl/project/issues/1911
Signed-off-by: Milan Broz <gmazyland@gmail.com>
Reviewed-by: Nikola Pajkovsky <nikolap@openssl.org>
Reviewed-by: Norbert Pocs <norbertp@openssl.org>
MergeDate: Mon Apr 20 10:04:58 2026
(Merged from https://github.com/openssl/openssl/pull/30860)
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 6a64ec55e2..729e679c1d 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -234,3 +234,24 @@ jobs:
# Disable testing for now. TBD: Need local cygwin installation to debug .
# - name: Run openssl tests
# run: bash -c "cd openssl && make V=1 test"
+
+ mingw64:
+ runs-on: ubuntu-latest
+ env:
+ CC: x86_64-w64-mingw32-gcc
+ CXX: x86_64-w64-mingw32-g++
+ AR: x86_64-w64-mingw32-ar
+ RANLIB: x86_64-w64-mingw32-ranlib
+ RC: x86_64-w64-mingw32-windres
+ steps:
+ - uses: actions/checkout@v6
+ with:
+ persist-credentials: false
+ - name: install MINGW64
+ run: sudo apt-get install -y mingw-w64
+ - name: config
+# Once fixed, enable strict-warnings
+# run: ./config --strict-warnings --banner=Configured mingw64
+ run: ./config --banner=Configured mingw64
+ - name: make
+ run: make -j4 -s