Skip to content

Commit 4469dba

Browse files
committed
fixup! ci: use ninja in bionic
1 parent 6b6d34a commit 4469dba

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ci/build.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ set -e
55
SOURCE_DIR=${SOURCE_DIR:-$( cd "$( dirname "${BASH_SOURCE[0]}" )" && dirname $( pwd ) )}
66
BUILD_DIR=$(pwd)
77
CC=${CC:-cc}
8+
CMAKE_GENERATOR=${CMAKE_GENERATOR:-Unix Makefiles}
89

910
indent() { sed "s/^/ /"; }
1011

@@ -35,8 +36,8 @@ echo "##########################################################################
3536
echo "## Configuring build environment"
3637
echo "##############################################################################"
3738

38-
echo cmake ${SOURCE_DIR} -DENABLE_WERROR=ON ${CMAKE_OPTIONS}
39-
cmake ${SOURCE_DIR} -DENABLE_WERROR=ON ${CMAKE_OPTIONS}
39+
echo cmake ${SOURCE_DIR} -DENABLE_WERROR=ON -G ${CMAKE_GENERATOR} ${CMAKE_OPTIONS}
40+
cmake ${SOURCE_DIR} -DENABLE_WERROR=ON -G "${CMAKE_GENERATOR}" ${CMAKE_OPTIONS}
4041

4142
echo ""
4243
echo "##############################################################################"

0 commit comments

Comments
 (0)