aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2017-11-21 13:39:44 -0800
committerGarrett D'Amore <garrett@damore.org>2017-11-21 13:39:44 -0800
commitb68d1c5670ebebe0d562b7de4377ac53ecf7ed70 (patch)
treea040f9bb03093a90c8a6ed3197c7a0c199038444
parent4799a09c5717d8c5e64bc39a6f82344bff229c59 (diff)
downloadnng-b68d1c5670ebebe0d562b7de4377ac53ecf7ed70.tar.gz
nng-b68d1c5670ebebe0d562b7de4377ac53ecf7ed70.tar.bz2
nng-b68d1c5670ebebe0d562b7de4377ac53ecf7ed70.zip
Initial swag at circle CI integration.
-rw-r--r--.circleci/config.yml36
1 files changed, 36 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 00000000..27b53351
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,36 @@
+# Debian packages we want (makes life better);
+#
+# - asciidoctor
+# - cmake
+# - libmbedtls-dev
+# - ninja-build
+# - clang
+# - clang-format
+# - gcc (-7?)
+# - g++ (-7?)
+#
+version: 2
+jobs:
+ build:
+ docker:
+ - image: debian:stretch
+ steps:
+ - checkout
+ - run:
+ name: Install Dependencies
+ command: apt-get update -qq && apt-get install -y build-essential asciidoctor cmake libmbedtls-dev ninja-build clang clang-format
+ - run:
+ name: Configure
+ command: cmake -DNNG_TRANSPORT_TLS=ON -G Nina
+
+ - run:
+ name: Build
+ command: ninja build
+
+ - run:
+ name: Run Tests
+ command: ninja test
+
+ - run:
+ name: Check Format
+ ./etc/format-check.sh