From: Magnus Jacobsson Date: Thu, 9 Sep 2021 16:43:25 +0000 (+0200) Subject: CI: add windows-cygwin-build-using-autogen job X-Git-Tag: 2.49.2~32^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=53a9e5ea1040125cb0304f15b9d472c482142904;p=graphviz CI: add windows-cygwin-build-using-autogen job --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2c9717fc8..8316bdc8e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -472,6 +472,34 @@ windows-cygwin-build: except: - tags +windows-cygwin-build-using-autogen: + stage: build + needs: [] + script: + # change line endings from crlf to lf + - git rm --cached -r . + - git -c core.autocrlf=false reset --hard + - choco install --yes --no-progress cygwin + - choco install --yes --no-progress --params "/InstallDir:C:\Python3" python3 + - $env:Path = "C:\Python3;" + $env:Path + # avoid BOM in COLLECTION file + - echo experimental | Out-File COLLECTION -Encoding ascii + - python gen_version.py > GRAPHVIZ_VERSION + - $Env:build_system = "autotools" + - $Env:use_autogen = "yes" + - C:\tools\cygwin\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/cygwin-build.sh' + artifacts: + when: always + expire_in: 1 week + paths: + - GRAPHVIZ_VERSION + - COLLECTION + - Packages/*/*/*/*/*/*.xz + tags: + - windows + except: + - tags + ubuntu18-04-cmake-build: <<: *deb_build_definition needs: