From 406169f0382204d4bad8da9942bed9d865dfb022 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sun, 22 Aug 2021 11:58:23 +0200 Subject: [PATCH] CI: add autotools windows-cygwin-build --- .gitlab-ci.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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: -- 2.50.1