代码拉取完成,页面将自动刷新
#***************************************************************************
# @file appveyor.yml
# @author itas109 (itas109@qq.com) \n\n
# Blog : https://blog.csdn.net/itas109 \n
# Github : https://github.com/itas109 \n
# Gitee : https://gitee.com/itas109 \n
# QQ Group : 129518033
# @brief Lightweight cross-platform serial port library based on C++
# @copyright The CSerialPort is Copyright (C) 2014 itas109 <itas109@qq.com>.
# You may use, copy, modify, and distribute the CSerialPort, under the terms
# of the LICENSE file.
############################################################################
version: 1.0.{build}
image: Visual Studio 2015
clone_depth: 1
environment:
build_type: Release
matrix:
- compiler: msvc-14-win32
generator: Visual Studio 14 2015
build_test: ON
- compiler: msvc-14-win64
generator: Visual Studio 14 2015 Win64
build_test: ON
- compiler: msvc-14-win32-xp
generator: Visual Studio 14 2015
platformset: v140_xp
- compiler: msvc-12-win32
generator: Visual Studio 12 2013
- compiler: msvc-12-win64
generator: Visual Studio 12 2013 Win64
- compiler: msvc-11-win32
generator: Visual Studio 11 2012
- compiler: msvc-11-win64
generator: Visual Studio 11 2012 Win64
- compiler: msvc-10-win32
generator: Visual Studio 10 2010
- compiler: msvc-08-win32
generator: Visual Studio 9 2008
- compiler: mingw-4.9.2-posix-win32
generator: MinGW Makefiles
cxx_path: C:\Qt\Tools\mingw492_32\bin
- compiler: mingw-5.3.0-posix-win32
generator: MinGW Makefiles
cxx_path: C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin
- compiler: mingw-7.3.0-posix-win64
generator: MinGW Makefiles
cxx_path: C:\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin
install:
- ps: "# git bash conflicts with MinGW makefiles\nif ($env:generator -eq \"MinGW Makefiles\") \n{\n $env:path = $env:path.replace(\"C:\\Program Files\\Git\\usr\\bin;\", \"\")\n if ($env:cxx_path -ne \"\") \n {\n $env:path = \"$env:cxx_path;\" + $env:path\n }\n}\n\n\nWrite-Output \"APPVEYOR_BUILD_FOLDER: $env:APPVEYOR_BUILD_FOLDER\"\nWrite-Output \"Compiler: $env:compiler\"\nWrite-Output \"Generator: $env:generator\"\n# Write-Output \"Path: $env:path\"\nWrite-Output \"Env:build_type: $env:build_type\""
build_script:
- ps: "cd $env:APPVEYOR_BUILD_FOLDER\n\nmkdir bin\n\ncd bin\n\nif ($env:build_test -ne \"ON\") \n{\n $env:build_test=\"OFF\"\n}\n\nif ($env:platformset -ne \"\") \n{\n cmake -G \"$env:generator\" -DCSERIALPORT_BUILD_TEST=\"$env:build_test\" -DCMAKE_BUILD_TYPE=\"$env:build_type\" .. \n}\nelse\n{\n cmake -G \"$env:generator\" -T \"$env:platformset\" -DCSERIALPORT_BUILD_TEST=\"$env:build_test\" -DCMAKE_BUILD_TYPE=\"$env:build_type\" .. \n}\n\ncmake --build ."
test_script:
- ps: >-
if ($env:build_test -eq "ON")
{
cd $env:APPVEYOR_BUILD_FOLDER
bin\bin\Debug\CSerialPortTest.exe
}
notifications:
- provider: Email
to:
- itas109@qq.com
on_build_success: true
on_build_failure: true
on_build_status_changed: true
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。