Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit d016370

Browse files
committed
Modified build operations to redirect warning & error streams to success streams.
1 parent 715bec7 commit d016370

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

appveyor.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ image: Visual Studio 2017
33
environment:
44
MINGW_PATH: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin
55
matrix:
6-
# - ARDUINO_SDK_VERSION: 1.6.13
6+
# - ARDUINO_SDK_VERSION: 1.6.13
77
- ARDUINO_SDK_VERSION: 1.8.6
88
install:
99
- ps: cinst unzip
@@ -27,8 +27,13 @@ build_script:
2727
-D CMAKE_TOOLCHAIN_FILE="..\cmake\Arduino-Toolchain.cmake"
2828
-D CMAKE_SH="CMAKE_SH-NOTFOUND"
2929
--no-warn-unused-cli
30-
..\examples
31-
- ps: make.exe
30+
..\examples 3>&1
31+
- ps: |
32+
make.exe 2>&1 3>&1
33+
if ($LastExitCode -eq 0)
34+
{
35+
$host.SetShouldExit(0)
36+
}
3237
after_build:
3338
- 7z a arduino-cmake-ng.zip %APPVEYOR_BUILD_FOLDER%\cmake
3439
artifacts:

0 commit comments

Comments
 (0)