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