代码拉取完成,页面将自动刷新
# set clone depth
clone_depth: 5 # clone entire repository history if not defined
environment:
TEST_SUITES: testinstall
# To test building GAP both using the bundled libraries (zlib and GMP), as
# well as using the versions distributed with cygwin, we do the former in
# the 32 bit build and the latter in the 64 bit build. But building zlib
# does not see to work if '--coverage' is used, so we only use that flag in
# the 64 bit build.
matrix:
- CYG_ARCH: x86
CYG_ROOT: C:\cygwin
PACKAGES: "-P python27,python27-pip"
ABI: 32
- CYG_ARCH: x86_64
CYG_ROOT: C:\cygwin64
PACKAGES: "-P libgmp-devel,zlib-devel,python27,python27-pip"
CFLAGS: "--coverage"
CXXFLAGS: "--coverage"
LDFLAGS: "--coverage"
# FIXME: HPC-GAP build on AppVeyor disabled for now, as it crashes
# - CYG_ARCH: x86_64
# CYG_ROOT: C:\cygwin64
# HPCGAP: yes
# BUILDDIR: build # HPC-GAP only supports kernel extensions for of out-of-tree builds
# change to packages-stable-X.Y.tar.gz in the stable branch
cache:
- packages-master.tar.gz
install:
- '%CYG_ROOT%\setup-%CYG_ARCH%.exe -qnNdO -R %CYG_ROOT% -s http://cygwin.mirror.constant.com -l %CYG_ROOT%/var/cache/setup %PACKAGES%'
# scripts that run after cloning repository
build_script:
# If there's a newer build queued for the same PR, cancel this one
- ps: if ($env:APPVEYOR_PULL_REQUEST_NUMBER -and $env:APPVEYOR_BUILD_NUMBER -ne ((Invoke-RestMethod `
https://ci.appveyor.com/api/projects/$env:APPVEYOR_ACCOUNT_NAME/$env:APPVEYOR_PROJECT_SLUG/history?recordsNumber=50).builds | `
Where-Object pullRequestId -eq $env:APPVEYOR_PULL_REQUEST_NUMBER)[0].buildNumber) { `
throw "There are newer queued builds for this pull request, failing early." }
- SET "PATH=%CYG_ROOT%\bin;%PATH%"
- python -m pip install gcovr==4.1 # for coverage reporting later on
- bash -lc "gcc --version"
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./etc/ci-prepare.sh"
test_script:
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./etc/ci.sh"
on_success:
# make sure to use AppVeyor's Python (not Cygwin's) in the next step
- bash -lc "export PATH="/cygdrive/c/Python27:/cygdrive/c/Python27/Scripts:$PATH" ; cd $APPVEYOR_BUILD_FOLDER && ./etc/ci-gather-coverage.sh"
- bash -lc "cd $APPVEYOR_BUILD_FOLDER && ./etc/ci-run-codecov.sh"
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。