summaryrefslogtreecommitdiff
path: root/.circleci/build-demos.sh
blob: 488c142d9fcf3ab4cc0f8246ce8c675daaff038f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

#
# build the demos to make sure they all build cleanly
#

for dir in demo/*; do
	demo=$(basename $dir)
	mkdir build-demo-${demo}
	( cd build-demo-${demo} &&
	cmake -G Ninja ../demo/${demo} &&
	ninja ) || exit 1
done