From dc6f0a7a1d87e4365e055d1c279ae6580f785d7a Mon Sep 17 00:00:00 2001 From: Guillaume Chatelet Date: Fri, 2 Feb 2018 09:36:33 +0100 Subject: [PATCH] Add appveyor configuration. --- BUILD | 1 + appveyor.yml | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 appveyor.yml diff --git a/BUILD b/BUILD index fbe538d..53888f8 100644 --- a/BUILD +++ b/BUILD @@ -28,6 +28,7 @@ filegroup( "OWNERS", "README.md", "WORKSPACE", + "appveyor.yml", "include/cpu_features_macros.h", "include/cpuinfo_aarch64.h", "include/cpuinfo_arm.h", diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..d2210b9 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,24 @@ +version: '{build}' +shallow_clone: true + +platform: x64 + +environment: + matrix: + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + CMAKE_GENERATOR: "Visual Studio 15 2017 Win64" + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + CMAKE_GENERATOR: "Visual Studio 14 2015 Win64" + +matrix: + fast_finish: true + +before_build: + - cmake --version + - cmake -H. -Bcmake_build -G "%CMAKE_GENERATOR%" + +build_script: + - cmake --build cmake_build --config Release --target ALL_BUILD + +test_script: + - cmake --build cmake_build --config Release --target RUN_TESTS