summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSander Vrijders <sander@ouroboros.rocks>2019-09-28 12:36:39 +0200
committerDimitri Staessens <dimitri@ouroboros.rocks>2019-09-29 13:43:22 +0200
commitd7db0ac776bdeaff89d13e951e19e9fe28d7bbd1 (patch)
tree55d390143660b44f6e6d8a0dac266e5cd956b224
parente7d3c1776bc8abd1d96ffc0e4cb1acdda201dba9 (diff)
downloadouroboros-d7db0ac776bdeaff89d13e951e19e9fe28d7bbd1.tar.gz
ouroboros-d7db0ac776bdeaff89d13e951e19e9fe28d7bbd1.zip
Add support for appveyor CI
A yml file is included in the repository, which is parsed by the appveyor CI when a build is triggered upon pushing. It allows checking the build on Ubuntu 16.04 and 18.04, on x86 and x64, and in release and debug configuration. Signed-off-by: Sander Vrijders <sander@ouroboros.rocks> Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
-rw-r--r--appveyor.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 00000000..5c663735
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,34 @@
+image:
+ - Ubuntu1804
+ - Ubuntu
+
+platform:
+ - x64
+ - x86
+
+configuration:
+ - Release
+ - Debug
+
+environment:
+ matrix:
+ - CC: clang
+
+ - CC: gcc
+
+install:
+ - sudo apt-get update
+ - sudo apt-get install protobuf-c-compiler --yes
+ - sudo apt-get install libprotobuf-c-dev --yes || true
+ - sudo apt-get install libgcrypt20-dev libssl-dev libfuse-dev dnsutils --yes
+
+before_build:
+ - mkdir -p build
+ - cd build
+ - cmake -DCMAKE_BUILD_TYPE=%CONFIGURATION% ..
+
+build_script:
+ - make
+
+test_script:
+ - make check \ No newline at end of file