From: Milan Broz Date: Thu, 16 Apr 2026 07:14:45 +0000 (+0200) Subject: ci: Add MINGW64 build X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8449ecf09a6a6351d89ea4b7b6a19b73cf3dd198;p=thirdparty%2Fopenssl.git 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 Reviewed-by: Nikola Pajkovsky Reviewed-by: Norbert Pocs 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 6a64ec55e2f..729e679c1d5 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