CentOS build fix

This commit is contained in:
infactum 2019-02-16 11:30:54 +05:00
parent ca52fa4c03
commit c3911a614b
1 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ environment:
init:
- sh: |
docker login -u "$docker_login" -p "$docker_password"
docker pull "$docker_image":"$docker_tag"
docker pull "$docker_image":"$docker_tag"
install:
- sh: docker build buildenv/ -f buildenv/Dockerfile."$docker_tag" --cache-from "$docker_image":"$docker_tag" -t "$docker_image":"$docker_tag"
@ -35,7 +35,7 @@ install:
build_script:
- sh: >-
mkdir build;
docker run --rm -v "$(pwd)":/src "$docker_image" /bin/bash -c "
docker run --rm -v "$(pwd)":/src "$docker_image":"$docker_tag" /bin/bash -c "
mkdir build && cd build;
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig && cmake -DCMAKE_BUILD_TYPE=Release /src
cmake --build .;