1 Star 0 Fork 0

beeworkshop/gap

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
.appveyor.yml 2.32 KB
一键复制 编辑 原始数据 按行查看 历史
Alexander Konovalov 提交于 2019-11-07 10:28 . Require gcovr 4.1
# 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"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/beeworkshop/gap.git
[email protected]:beeworkshop/gap.git
beeworkshop
gap
gap
master

搜索帮助