aboutsummaryrefslogtreecommitdiff
path: root/.circleci/config.yml
blob: e412a110612e4c50dc024a21b31777a2e1670e8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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