
【主 题】:不从配置文件远端获取 ArduinoJson库 添加到根目录调用 【描 述】: [原因]:防止版本不同 造成bug [过程]: [影响]: 【结 束】 # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动
38 lines
1.7 KiB
YAML
38 lines
1.7 KiB
YAML
version: 6.19.3.{build}
|
|
environment:
|
|
matrix:
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2022
|
|
CMAKE_GENERATOR: Visual Studio 17 2022
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
CMAKE_GENERATOR: Visual Studio 16 2019
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
CMAKE_GENERATOR: Visual Studio 15 2017
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
CMAKE_GENERATOR: Visual Studio 14 2015
|
|
- CMAKE_GENERATOR: Visual Studio 12 2013
|
|
- CMAKE_GENERATOR: Visual Studio 11 2012
|
|
- CMAKE_GENERATOR: Visual Studio 10 2010
|
|
- CMAKE_GENERATOR: Ninja
|
|
MINGW: MinGW # MinGW 32-bit 5.3.0
|
|
- CMAKE_GENERATOR: Ninja
|
|
MINGW32: i686-5.3.0-posix-dwarf-rt_v4-rev0 # MinGW-w64 5.3.0
|
|
- CMAKE_GENERATOR: Ninja
|
|
MINGW32: i686-6.3.0-posix-dwarf-rt_v5-rev1 # MinGW-w64 6.3.0 i686
|
|
- CMAKE_GENERATOR: Ninja
|
|
MINGW64: x86_64-6.3.0-posix-seh-rt_v5-rev1 # MinGW-w64 6.3.0 x86_64
|
|
- CMAKE_GENERATOR: Ninja
|
|
MINGW64: x86_64-7.3.0-posix-seh-rt_v5-rev0 # MinGW-w64 7.3.0 x86_64
|
|
- CMAKE_GENERATOR: Ninja
|
|
MINGW64: x86_64-8.1.0-posix-seh-rt_v6-rev0 # MinGW-w64 8.1.0 x86_64
|
|
configuration: Debug
|
|
before_build:
|
|
- set PATH=%PATH:C:\Program Files\Git\usr\bin;=% # Workaround for CMake not wanting sh.exe on PATH for MinGW
|
|
- if defined MINGW set PATH=C:\%MINGW%\bin;%PATH%
|
|
- if defined MINGW32 set PATH=C:\mingw-w64\%MINGW32%\mingw32\bin;%PATH%
|
|
- if defined MINGW64 set PATH=C:\mingw-w64\%MINGW64%\mingw64\bin;%PATH%
|
|
- cmake -DCMAKE_BUILD_TYPE=%CONFIGURATION% -G "%CMAKE_GENERATOR%" .
|
|
build_script:
|
|
- cmake --build . --config %CONFIGURATION%
|
|
test_script:
|
|
- ctest -C %CONFIGURATION% --output-on-failure .
|