CI: Added support for windows build using appveyor
authorsubhransu mohanty <sub.mohanty@samsung.com>
Wed, 10 Jul 2019 08:10:05 +0000 (17:10 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 18 Jul 2019 11:04:28 +0000 (20:04 +0900)
.appveyor.yml [new file with mode: 0644]

diff --git a/.appveyor.yml b/.appveyor.yml
new file mode 100644 (file)
index 0000000..e53600d
--- /dev/null
@@ -0,0 +1,23 @@
+os: Visual Studio 2017
+platform:
+  - x86
+environment:
+  matrix:
+    - ARCH: x86
+      PYTHON: "C:\\Python35"
+    - ARCH: x64
+      PYTHON: "C:\\Python35-x64"
+skip_branch_with_pr: true
+install:
+  - git submodule update --init --recursive
+  - set PATH=%cd%;%PYTHON%;%PYTHON%\Scripts;%PATH%
+  - pip install meson==0.50.0 ninja
+  - call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %ARCH%
+build_script:
+  - meson -Dwarning_level=0 -Dwerror=false --backend=ninja --prefix=%cd%  build
+  - where link
+  - ninja -C build
+test_script:
+  - ninja -C build test
+after_build:
+  - ninja -C build install
\ No newline at end of file