xref: /Universal-ctags/libreadtags/.circleci/config.yml (revision 0e675dcc44e62ca4628330a3e983e7b45eb28fd2)
1version: 2
2jobs:
3  fedora31:
4    working_directory: ~/libreadtags
5    docker:
6      - image: docker.io/fedora:31
7    steps:
8      - run:
9          name: Install Git
10          command: |
11            yum -y install git
12      - checkout
13      - run:
14          name: Install build tools
15          command: |
16            yum -y install gcc automake autoconf libtool make
17      - run:
18          name: Build
19          command: |
20            bash ./autogen.sh
21            ./configure
22            make
23      - run:
24          name: Test
25          command: |
26            make check VERBOSE=1
27  fedora31_distcheck:
28    working_directory: ~/libreadtags
29    docker:
30      - image: docker.io/fedora:31
31    steps:
32      - run:
33          name: Install Git
34          command: |
35            yum -y install git
36      - checkout
37      - run:
38          name: Install build tools
39          command: |
40            yum -y install gcc automake autoconf libtool make
41      - run:
42          name: Build
43          command: |
44            bash ./autogen.sh
45            ./configure
46      - run:
47          name: Test
48          command: |
49            make distcheck
50workflows:
51  version: 2
52  build_and_test:
53    jobs:
54      - fedora31
55      - fedora31_distcheck
56