aboutsummaryrefslogtreecommitdiff
path: root/.circleci
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2020-07-02 17:27:03 -0400
committerGitHub <noreply@github.com>2020-07-02 17:27:03 -0400
commit9c149534389845412fbfb305b8a6f00923009c4b (patch)
tree0bb4cba597691aa9be0dc23bd1270e2bcbfde1bb /.circleci
parent2df3b35bebdb81c8e45c08d5a7af46e8fa32e07b (diff)
parent288ce22e256f71ba01cea63aa03a4880e5b1612d (diff)
downloadsplitfits-9c149534389845412fbfb305b8a6f00923009c4b.tar.gz
Merge pull request #4 from jhunkeler/circleci-project-setup
Circleci project setup
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