Skip to content

Commit 7f3e8d6

Browse files
committed
Add apriltag to circleci pipeline
1 parent 46a7c1a commit 7f3e8d6

File tree

1 file changed

+71
-15
lines changed

1 file changed

+71
-15
lines changed

.circleci/config.yml

Lines changed: 71 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,38 +6,93 @@ jobs:
66
steps:
77
- run: apt-get update -qq && apt-get install -qq git
88
- checkout
9-
- run: DEBIAN_FRONTEND=noninteractive ./InstallPackagesUbuntu.sh
10-
- run: make
9+
- run:
10+
name: "Install dependencies"
11+
command: |
12+
DEBIAN_FRONTEND=noninteractive ./InstallPackagesUbuntu.sh
13+
- run:
14+
name: "Build"
15+
command: make
1116
build-v4l:
1217
docker:
13-
- image: ubuntu:18.04
18+
- image: ubuntu:18.04
1419
steps:
1520
- run: apt-get update -qq && apt-get install -qq git
1621
- checkout
17-
- run: DEBIAN_FRONTEND=noninteractive ./InstallPackagesUbuntu.sh
18-
- run: mkdir -p build && cd build && cmake -DUSE_V4L=true .. && cd ..
19-
- run: make
22+
- run:
23+
name: "Install dependencies"
24+
command: |
25+
DEBIAN_FRONTEND=noninteractive ./InstallPackagesUbuntu.sh
26+
- run:
27+
name: "Configure"
28+
command: |
29+
mkdir -p build
30+
cmake -B build -DUSE_V4L=true .
31+
- run:
32+
name: "Build"
33+
command: make
2034
build-splitter:
2135
docker:
2236
- image: ubuntu:18.04
2337
steps:
2438
- run: apt-get update -qq && apt-get install -qq git
2539
- checkout
26-
- run: DEBIAN_FRONTEND=noninteractive ./InstallPackagesUbuntu.sh
27-
- run: mkdir -p build && cd build && cmake -DUSE_SPLITTER=true .. && cd ..
28-
- run: cmake -B build -DUSE_SPLITTER=true .
29-
- run: make
40+
- run:
41+
name: "Install dependencies"
42+
command: |
43+
DEBIAN_FRONTEND=noninteractive ./InstallPackagesUbuntu.sh
44+
- run:
45+
name: "Configure"
46+
command: |
47+
mkdir -p build
48+
cmake -B build -DUSE_SPLITTER=true .
49+
- run:
50+
name: "Build"
51+
command: make
3052
build-qt5:
3153
docker:
3254
- image: ubuntu:18.04
3355
steps:
3456
- run: apt-get update -qq && apt-get install -qq git
3557
- checkout
36-
- run: DEBIAN_FRONTEND=noninteractive ./InstallPackagesUbuntu.sh
37-
- run: apt-get install -qq qtdeclarative5-dev
38-
- run: mkdir -p build && cd build && cmake -DUSE_QT5=true .. && cd ..
39-
- run: cmake -B build -DUSE_QT5=true .
40-
- run: make
58+
- run:
59+
name: "Install dependencies"
60+
command: |
61+
DEBIAN_FRONTEND=noninteractive ./InstallPackagesUbuntu.sh
62+
apt-get install -qq qtdeclarative5-dev
63+
- run:
64+
name: "Configure"
65+
command: |
66+
mkdir -p build
67+
cmake -B build -DUSE_QT5=true .
68+
- run:
69+
name: "Build"
70+
command: make
71+
build-apriltag:
72+
docker:
73+
- image: ubuntu:18.04
74+
steps:
75+
- run: apt-get update -qq && apt-get install -qq git
76+
- checkout
77+
- run:
78+
name: "Install dependencies"
79+
command: |
80+
DEBIAN_FRONTEND=noninteractive ./InstallPackagesUbuntu.sh
81+
- run:
82+
name: "Install april tag"
83+
command: |
84+
git clone https://github.com/AprilRobotics/apriltag.git
85+
cd apriltag
86+
cmake .
87+
make install
88+
- run:
89+
name: "Configure"
90+
command: |
91+
mkdir -p build
92+
cmake -B build -DUSE_APRILTAG=true .
93+
- run:
94+
name: "Build"
95+
command: make
4196

4297
workflows:
4398
version: 2
@@ -47,3 +102,4 @@ workflows:
47102
- build-v4l
48103
- build-splitter
49104
- build-qt5
105+
- build-apriltag

0 commit comments

Comments
 (0)