1 Star 0 Fork 0

damone/CppCommon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
.appveyor.yml 2.11 KB
一键复制 编辑 原始数据 按行查看 历史
Ivan Shynkarenka 提交于 2020-05-23 00:23 . Fix Appveyor build
# Specify version format
version: "1.0.0.{build}"
# Image to use
image: Visual Studio 2019
# Branches to build
branches:
only:
- master
# Including commits with 'build' comment
only_commits:
message: build
# Build matrix
environment:
matrix:
- type: Cygwin
build: C:\cygwin64\bin\bash -lc "cd $APPVEYOR_BUILD_FOLDER/build; exec 0</dev/null; ./cygwin.sh"
command: C:\cygwin64\bin\bash -lc
- type: MinGW
build: call mingw.bat
command: cmd /C
- type: VisualStudio
build: call vs.bat
command: cmd /C
# Allow to fail on first error in matrix
matrix:
fast_finish: true
# Scripts that run after cloning repository
install:
# Chocolatey
- choco upgrade chocolatey
# Cygwin
- if "%type%"=="Cygwin" if not exist "C:\cygwin64" mkdir "C:\cygwin64"
- if "%type%"=="Cygwin" appveyor-retry appveyor DownloadFile "http://cygwin.com/setup-x86_64.exe" -FileName "C:\cygwin64\setup-x86_64.exe"
- if "%type%"=="Cygwin" C:\cygwin64\setup-x86_64.exe --quiet-mode --no-desktop --no-shortcuts --upgrade-also --root "C:\cygwin64" --local-package-dir "C:\cache\cygwin" --site "http://mirrors.kernel.org/sourceware/cygwin" --packages cmake,automake,make,gcc-core,gcc-g++,libjsoncpp19,librhash0,libuuid-devel,libuv1
# MinGW
- if "%type%"=="MinGW" if not exist "C:\mingw.7z" appveyor-retry appveyor DownloadFile "http://downloads.sourceforge.net/mingw-w64/x86_64-8.1.0-release-posix-seh-rt_v6-rev0.7z" -FileName "C:\mingw.7z"
- if "%type%"=="MinGW" 7z x -y -oC:\ "C:\mingw.7z" > nul
- if "%type%"=="MinGW" set INCLUDE=C:\mingw64\x86_64-w64-mingw32\include;%INCLUDE%
- if "%type%"=="MinGW" set LIB=C:\mingw64\x86_64-w64-mingw32\lib;%LIB%
- if "%type%"=="MinGW" set PATH=C:\mingw64\bin;%PATH:C:\Program Files\Git\usr\bin;=%
# Visual Studio
- if "%type%"=="VisualStudio" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat"
# CMake
- '%command% "cmake --version"'
# gil
- set PATH=C:\Python37;C:\Python37\Scripts;%PATH%
- pip3 install gil
- gil update
# Build scripts
build_script:
- cd build
- '%build%'
# Test scripts
test: off
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/damone/CppCommon.git
git@gitee.com:damone/CppCommon.git
damone
CppCommon
CppCommon
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385