except:
- tags
+windows-cygwin-cmake-build:
+ stage: build
+ needs: []
+ script:
+ - choco install --yes --no-progress cygwin
+ # avoid BOM in COLLECTION file
+ - echo experimental | Out-File COLLECTION -Encoding ascii
+ - $Env:build_system = "cmake"
+ # make Cygwin tolerate CRLF
+ - $Env:SHELLOPTS = "igncr"
+ - C:\tools\cygwin\bin\bash -l -c 'cd $CI_PROJECT_DIR && ci/cygwin-build.sh'
+ artifacts:
+ when: always
+ expire_in: 1 week
+ paths:
+ - VERSION
+ - COLLECTION
+ - Packages/*/*/*/*/*/*.zip
+ - Packages/*/*/*/*/*/*.bz2
+ tags:
+ - windows
+ except:
+ - tags
+
meta-data:
stage: test
script:
mv build/*.exe ${DIR}/os/${ARCH}/
elif [[ "${OSTYPE}" =~ "cygwin" ]]; then
mv build/*.zip ${DIR}/os/${ARCH}/
+ mv build/*.tar.bz2 ${DIR}/os/${ARCH}/
else
echo "Error: OSTYPE=${OSTYPE} is unknown" >&2
exit 1