forked from expresscpp/expresscpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sh
executable file
·30 lines (20 loc) · 949 Bytes
/
build.sh
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
#!/bin/bash
# export CC=/usr/bin/clang-8
# export CXX=/usr/bin/clang++-8
rm -rf _build
mkdir _build
cd _build
cmake .. \
-DEXPRESSCPP_BUILD_EXAMPLES=ON \
-DEXPRESSCPP_BUILD_TESTS=ON \
-DEXPRESSCPP_USE_CONAN_DEPENDENCIES=ON \
-DEXPRESSCPP_RUN_CLANG_TIDY=ON
cmake --build . -j
# docker build -t registry.gitlab.com/expresscpp/expresscpp/ci_gcc8 -f docker/ci_gcc8/Dockerfile .
# docker push registry.gitlab.com/expresscpp/expresscpp/ci_gcc8
# docker build -t registry.gitlab.com/expresscpp/expresscpp/ci_gcc9 -f docker/ci_gcc9/Dockerfile .
# docker push registry.gitlab.com/expresscpp/expresscpp/ci_gcc9
# docker build -t registry.gitlab.com/expresscpp/expresscpp/ci_clang9 -f docker/ci_clang9/Dockerfile .
# docker push registry.gitlab.com/expresscpp/expresscpp/ci_clang9
# docker build -t registry.gitlab.com/expresscpp/expresscpp/ci_clang8 -f docker/ci_clang8/Dockerfile .
# docker push registry.gitlab.com/expresscpp/expresscpp/ci_clang8