This repository was archived by the owner on Apr 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 11version : ' {build}'
22image : Visual Studio 2017
33environment :
4+ MINGW_PATH : C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin
45 matrix :
5- - ARDUINO_SDK_VERSION : 1.6.13
6+ # - ARDUINO_SDK_VERSION: 1.6.13
67 - ARDUINO_SDK_VERSION : 1.8.6
78install :
8- - ps : cinst make unzip
9+ - ps : cinst unzip
910- ps : $env:ARDUINO_SDK_FILE = "arduino-$env:ARDUINO_SDK_VERSION-windows.zip"
1011- ps : $env:ARDUINO_SDK_URI = "https://downloads.arduino.cc/$env:ARDUINO_SDK_FILE"
1112- ps : wget "$env:ARDUINO_SDK_URI" -O "$env:ARDUINO_SDK_FILE"
1213- ps : unzip "$env:ARDUINO_SDK_FILE" -d "arduino-sdk"
1314- ps : $env:ARDUINO_SDK_PATH = "$pwd\arduino-sdk\arduino-$env:ARDUINO_SDK_VERSION"
1415# FIXME: Windows path separators (\) need to be changed to "/" for cmake to properly handle it
1516- ps : $env:ARDUINO_SDK_PATH = ($env:ARDUINO_SDK_PATH -replace "\\","/")
17+ before_build :
18+ - ps : Copy-Item -Path $env:MINGW_PATH\mingw32-make.exe -Destination $env:MINGW_PATH\make.exe
1619build_script :
20+ # Add the MinGW Path to the system PATH temporarily for this session
21+ - ps : $env:Path += ";$env:MINGW_PATH"
1722- ps : mkdir build
1823- ps : cd build
1924- ps : echo "$env:ARDUINO_SDK_PATH"
2025- ps : >-
21- cmake -G "Unix Makefiles"
22- -DCMAKE_TOOLCHAIN_FILE="..\cmake\Arduino-Toolchain.cmake"
23- -DCMAKE_SH="CMAKE_SH-NOTFOUND"
26+ cmake -G "MinGW Makefiles"
27+ -D CMAKE_TOOLCHAIN_FILE="..\cmake\Arduino-Toolchain.cmake"
28+ -D CMAKE_SH="CMAKE_SH-NOTFOUND"
29+ --no-warn-unused-cli
2430 ..\examples
25- - ps : make
31+ - ps : make.exe
2632after_build :
2733- 7z a arduino-cmake-ng.zip %APPVEYOR_BUILD_FOLDER%\cmake
2834artifacts :
You can’t perform that action at this time.
0 commit comments