From d7db0ac776bdeaff89d13e951e19e9fe28d7bbd1 Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Sat, 28 Sep 2019 12:36:39 +0200 Subject: 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 Signed-off-by: Dimitri Staessens --- appveyor.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 appveyor.yml (limited to 'appveyor.yml') 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 -- cgit v1.2.3