]> granicus.if.org Git - check/commitdiff
Create appveyor.yml
authorBranden Archer <b.m.archer4@gmail.com>
Mon, 28 Mar 2016 03:05:58 +0000 (23:05 -0400)
committerBranden Archer <b.m.archer4@gmail.com>
Mon, 28 Mar 2016 03:05:58 +0000 (23:05 -0400)
appveyor.yml [new file with mode: 0644]

diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644 (file)
index 0000000..737c124
--- /dev/null
@@ -0,0 +1,56 @@
+# This is the configuration file for AppVeyor builds.
+# Look at the following for reference:
+# https://www.appveyor.com/docs/appveyor-yml
+
+# Notes:
+#   - Minimal appveyor.yml file is an empty file. All sections are optional.
+#   - Indent each level of configuration with 2 spaces. Do not use tabs!
+#   - All section names are case-sensitive.
+#   - Section names should be unique on each level.
+
+#---------------------------------#
+#      general configuration      #
+#---------------------------------#
+
+# version format
+version: 1.0.{build}
+
+#---------------------------------#
+#    environment configuration    #
+#---------------------------------#
+
+environment:
+  matrix:
+  - platform: vs
+
+# scripts that are called at very beginning, before repo cloning
+# init:
+
+# clone directory
+clone_folder: c:\projects\check
+
+# scripts that are called at very beginning, before repo cloning
+init:
+  - git config --global core.autocrlf input
+
+#---------------------------------#
+#       build configuration       #
+#---------------------------------#
+
+# build Configuration, i.e. Debug, Release, etc.
+configuration: Release
+
+# scripts to run before build
+before_build:
+  - echo Running cmake...
+  - cd c:\projects\check
+  - if %platform%==vs cmake -G "Visual Studio 14 2015 Win64" -DCMAKE_INSTALL_PREFIX=%P%
+
+build_script:
+  # build code and unit tests
+  - if %platform%==vs msbuild "ALL_BUILD.vcxproj"
+
+test_script:
+  # run unit tests
+  - echo Running unit tests...
+  - if %platform%==vs msbuild "RUN_TESTS.vcxproj"