aboutsummaryrefslogtreecommitdiff
path: root/.circleci/config.yml
diff options
context:
space:
mode:
Diffstat (limited to '.circleci/config.yml')
-rw-r--r--.circleci/config.yml60
1 files changed, 54 insertions, 6 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index efe64900..2a3711f7 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -22,7 +22,6 @@ jobs:
- run: >
apt-get install -y --allow-unauthenticated
build-essential
- curl
asciidoctor
cmake
libmbedtls-dev
@@ -32,6 +31,52 @@ jobs:
- run: ./etc/format-check.sh
- run: ./.circleci/build-and-test.sh
+ "gcc - static":
+ docker:
+ - image: ubuntu:16.04
+ environment:
+ CC: gcc
+ CXX: g++
+ SHARED_LIBS: OFF
+ CTEST_OUTPUT_ON_FAILURE: 1
+ steps:
+ - checkout
+ - run: apt-get update -qq
+ - run: apt-get install -y software-properties-common
+ - run: add-apt-repository ppa:ubuntu-toolchain-r/test
+ - run: apt-get update -qq
+ - run: >
+ apt-get install -y --allow-unauthenticated
+ build-essential
+ cmake
+ libmbedtls-dev
+ ninja-build
+ - run: ./.circleci/build-and-test.sh
+
+ "gcc - demos":
+ docker:
+ - image: ubuntu:16.04
+ environment:
+ CC: gcc
+ CXX: g++
+ CTEST_OUTPUT_ON_FAILURE: 1
+ steps:
+ - checkout
+ - run: apt-get update -qq
+ - run: apt-get install -y software-properties-common
+ - run: add-apt-repository ppa:ubuntu-toolchain-r/test
+ - run: apt-get update -qq
+ - run: >
+ apt-get install -y --allow-unauthenticated
+ build-essential
+ cmake
+ libmbedtls-dev
+ ninja-build
+ - run: ./.circleci/run-cmake.sh
+ - run: ninja -C build
+ - run: ninja -C build install
+ - run: ./.circleci/build-demos.sh
+
"gcc - build, test, coverage":
docker:
- image: ubuntu:16.04
@@ -40,6 +85,7 @@ jobs:
CXX: g++-8
COVERAGE: "ON"
GCOV: gcov-8
+ CTEST_OUTPUT_ON_FAILURE: 1
steps:
- checkout
- run: apt-get update -qq
@@ -64,11 +110,13 @@ workflows:
build_and_test:
jobs:
- "clang - build, test"
+ - "gcc - static"
- "gcc - build, test, coverage"
+ - "gcc - demos"
-notify:
- webhooks:
- # A list of hook hashes, containing the url field
- # gitter hook
- - url: ${GITTER_WEBHOOK}
+#notify:
+# webhooks:
+# # A list of hook hashes, containing the url field
+# # gitter hook
+# - url: ${GITTER_WEBHOOK}