From 2d00dee2725384b4b66f3cb47ec12eb7843b6dab Mon Sep 17 00:00:00 2001 From: Tahir Akhlaq Date: Sat, 12 Aug 2017 01:59:41 +0100 Subject: [PATCH] add appveyor test --- .appveyor.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..85bb8d25 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,30 @@ +os: + - Visual Studio 2015 + +configuration: + - Debug + +platform: + - Win32 + +environment: + MSVC_DEFAULT_OPTIONS: ON + BOOST_ROOT_DIR: "C:\\Libraries\\boost_1_60_0" + BOOST_LIB_DIR: "C:\\Libraries\\boost_1_60_0\\lib32-msvc-14.0" + MYSQL_PWD: "Password12!" + +services: + - mysql + +before_build: + - set PATH="C:\\Program Files\\MySQL\\MySQL Server 5.7\\bin";%PATH% + - cd c:\projects\sapphire + - git submodule update --init + - mkdir build + - cd build + - cmake .. -G "Visual Studio 14 2015" + - cmake --build . --target ALL_BUILD --config Debug + +build_script: + - cd .. + - sh sql_import.sh \ No newline at end of file