CentOS build fix
This commit is contained in:
parent
ca52fa4c03
commit
c3911a614b
|
@ -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 .;
|
||||
|
|
Loading…
Reference in New Issue