1
0
mirror of https://github.com/wjwwood/serial.git synced 2026-01-22 11:44:53 +08:00

ci: Add an appveyor windows build script.

This commit is contained in:
Alec Leamas 2020-09-27 22:39:25 +02:00
parent ba8745b9c1
commit 7abad93f33

27
appveyor.yml Normal file
View File

@ -0,0 +1,27 @@
clone_folder: c:\project\serial
shallow_clone: false
clone_depth: 10
image:
- Visual Studio 2017
platform:
- Win32
configuration: RelWithDebInfo
test: OFF
install:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
- choco install cmake
before_build:
- cd c:\project\serial
- mkdir build
- cd build
- cmake -DDISABLE_CATKIN=ON -DCATKIN_ENABLE_TESTING=OFF ..
build_script:
- cmake build .
- cmake --build . --target install