diff options
author | Sander Vrijders <sander@ouroboros.rocks> | 2019-09-28 12:36:39 +0200 |
---|---|---|
committer | Dimitri Staessens <dimitri@ouroboros.rocks> | 2019-09-29 13:43:22 +0200 |
commit | d7db0ac776bdeaff89d13e951e19e9fe28d7bbd1 (patch) | |
tree | 55d390143660b44f6e6d8a0dac266e5cd956b224 /appveyor.yml | |
parent | e7d3c1776bc8abd1d96ffc0e4cb1acdda201dba9 (diff) | |
download | ouroboros-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>
Diffstat (limited to 'appveyor.yml')
-rw-r--r-- | appveyor.yml | 34 |
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 |