CI update
This commit is contained in:
parent
8a39f6020e
commit
00b3168275
|
@ -37,7 +37,7 @@ build_script:
|
|||
mkdir build;
|
||||
docker run --rm -v "$(pwd)":/src "$docker_image" /bin/bash -c "
|
||||
mkdir build && cd build;
|
||||
cmake -DCMAKE_BUILD_TYPE=Release /src;
|
||||
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig && cmake -DCMAKE_BUILD_TYPE=Release /src
|
||||
cmake --build .;
|
||||
chmod +x tg2sip;
|
||||
chmod +x gen_db;
|
||||
|
|
|
@ -50,4 +50,8 @@ RUN source /opt/rh/devtoolset-7/enable \
|
|||
&& cmake -DCMAKE_BUILD_TYPE=Release -DSPDLOG_BUILD_EXAMPLES=OFF -DSPDLOG_BUILD_TESTING=OFF .. \
|
||||
&& cmake --build . --target install \
|
||||
&& cd / \
|
||||
&& rm -rf spdlog
|
||||
&& rm -rf spdlog
|
||||
|
||||
COPY centos_entrypoint.sh /
|
||||
|
||||
ENTRYPOINT ["/centos_entrypoint.sh"]
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
source /opt/rh/devtoolset-7/enable
|
||||
|
||||
exec "$@"
|
Loading…
Reference in New Issue