]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
ci: Add MINGW64 build
authorMilan Broz <gmazyland@gmail.com>
Thu, 16 Apr 2026 07:14:45 +0000 (09:14 +0200)
committerNikola Pajkovsky <nikolap@openssl.org>
Mon, 20 Apr 2026 10:04:52 +0000 (12:04 +0200)
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)

.github/workflows/windows.yml

index 6a64ec55e2f191731155db9d81573cab2cbdc1f8..729e679c1d580edd023bceac64adcf2ccfac3fa0 100644 (file)
@@ -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