aboutsummaryrefslogtreecommitdiffstats
path: root/.circleci
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2018-12-22 15:46:20 +0100
committerBoris Faure <billiob@gmail.com>2018-12-23 10:48:12 +0100
commita459704bb7e308274c8596061bf28364b9fa8ea4 (patch)
tree2ec903f3dc3a517cb65fe4043c37a55a18ceaca0 /.circleci
parentMerge remote-tracking branch 'origin/terminology-1.3' (diff)
downloadterminology-a459704bb7e308274c8596061bf28364b9fa8ea4.tar.gz
ci: add circleci config
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000..1b56d0e
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,24 @@
+version: 2
+jobs:
+ build:
+ docker:
+ - image: borisfaure/terminology-ci:0.1
+ steps:
+ - run: |
+ cd /terminology
+ git pull --ff-only
+ if [ -n "$CIRCLE_PR_NUMBER" ]; then
+ git fetch origin pull/$CIRCLE_PR_NUMBER/head
+ fi
+ if [ -n "$CIRCLE_SHA1" ]; then
+ git reset --hard origin/master
+ else
+ git reset --hard $CIRCLE_SHA1
+ fi
+ - run: |
+ cd /terminology
+ meson . build
+ meson configure build
+ cd build
+ ninja
+path: /terminology