Commit 3f1806d1c167ef86f94122443841f6be5c262414

SSE4 2019-02-22T03:05:43

- add appveyor Signed-off-by: SSE4 <tomskside@gmail.com>

diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..f7ee32f
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,21 @@
+build: false
+
+environment:
+    PYTHON: "C:\\Python37"
+
+    matrix:
+        - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
+          CMAKE_GENERATOR: Visual Studio 12 2013
+        - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
+          CMAKE_GENERATOR: Visual Studio 12 2013 Win64
+        - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
+          CMAKE_GENERATOR: Visual Studio 14 2015
+        - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
+          CMAKE_GENERATOR: Visual Studio 14 2015 Win64
+        - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+          CMAKE_GENERATOR: Visual Studio 15 2017
+        - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
+          CMAKE_GENERATOR: Visual Studio 15 2017 Win64
+
+test_script:
+    python build.py
diff --git a/build.py b/build.py
new file mode 100644
index 0000000..71877c9
--- /dev/null
+++ b/build.py
@@ -0,0 +1,13 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
+
+import os
+
+def main():
+    generator = os.environ["CMAKE_GENERATOR"]
+    os.system("cmake -G %s" % generator)
+    os.system("cmake --build . --config Release")
+
+if __name__ == '__main__':
+    main()