From: Magnus Jacobsson Date: Sun, 22 Aug 2021 09:58:23 +0000 (+0200) Subject: CI: add autotools windows-cygwin-build X-Git-Tag: 2.49.2~32^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=406169f0382204d4bad8da9942bed9d865dfb022;p=graphviz CI: add autotools windows-cygwin-build --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6051f5896..2c9717fc8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -445,6 +445,33 @@ macos-autotools-build: tags: - shared-macos-amd64 +windows-cygwin-build: + stage: build + needs: + - job: portable-source + artifacts: true + 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 + # avoid BOM in COLLECTION file + - echo experimental | Out-File COLLECTION -Encoding ascii + - $Env:build_system = "autotools" + # change line endings from crlf to lf by git checkout + - 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: