From: Magnus Jacobsson Date: Tue, 11 Jan 2022 17:16:56 +0000 (+0100) Subject: ci: add MinGW32 static autotools build jobs X-Git-Tag: 3.0.0~71^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a18e3bc274d1697ce8331f6c7e2d84076b943c9e;p=graphviz ci: add MinGW32 static autotools build jobs --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2c0b9c4ea..6c702ec93 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -598,6 +598,56 @@ windows-mingw64-static-build-step2-make: except: - tags +windows-mingw32-static-build-step1-configure: + stage: build + needs: + - job: portable-source + artifacts: true + script: + # disable Windows Defender + - Add-MpPreference -ExclusionPath 'C:\' + - $msys2_installer = "msys2-x86_64-latest.sfx.exe" + - wget https://repo.msys2.org/distrib/$msys2_installer -OutFile $env:TEMP\$msys2_installer + - Invoke-Expression "$env:TEMP/$msys2_installer -oC:\" + - $Env:build_system = "autotools" + - $Env:CONFIGURE_OPTIONS = "--disable-shared --enable-static" + - C:\msys64\usr\bin\env MSYSTEM=MINGW32 C:\msys64\usr\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/mingw-configure.sh' + artifacts: + when: always + expire_in: 1 week + paths: + - GRAPHVIZ_VERSION + - graphviz-* + - build + tags: + - windows + except: + - tags + +windows-mingw32-static-build-step2-make: + stage: build + needs: + - job: windows-mingw32-static-build-step1-configure + artifacts: true + script: + # disable Windows Defender + - Add-MpPreference -ExclusionPath 'C:\' + - $msys2_installer = "msys2-x86_64-latest.sfx.exe" + - wget https://repo.msys2.org/distrib/$msys2_installer -OutFile $env:TEMP\$msys2_installer + - Invoke-Expression "$env:TEMP/$msys2_installer -oC:\" + - $Env:build_system = "autotools" + - $Env:use_autogen = "yes" + - C:\msys64\usr\bin\env MSYSTEM=MINGW32 C:\msys64\usr\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/mingw-make.sh' + artifacts: + when: always + expire_in: 1 week + paths: + - GRAPHVIZ_VERSION + tags: + - windows + except: + - tags + windows-cygwin-build: stage: build needs: