aboutsummaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2020-07-02 10:54:36 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2020-07-02 14:46:31 -0400
commit19416faaede8cbbb4802417de858e9d7563c9e7d (patch)
treea6c08cc41e023cbeafe0e1f872992acfeae99bef /.circleci
parent5803dc0fdb911a67ad9ca1ef9600edc58331d55a (diff)
downloadsplitfits-19416faaede8cbbb4802417de858e9d7563c9e7d.tar.gz
Add circleci config
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
new file mode 100644
index 0000000..e412a11
--- /dev/null
+++ b/.circleci/config.yml
@@ -0,0 +1,34 @@
+version: 2
+jobs:
+ build:
+ machine:
+ image: ubuntu-1604:202004-01
+
+ steps:
+ - checkout
+ - run: |
+ set -xe
+ mkdir build && cd build
+ cmake ..
+ make
+
+ test:
+ machine:
+ image: ubuntu-1604:202004-01
+
+ steps:
+ - checkout
+ - run: |
+ set -xe
+ mkdir build && cd build
+ cmake ..
+ make
+ make check
+
+workflows:
+ version: 2
+
+ build-and-test:
+ jobs:
+ - build
+ - test