pip, add ondemand flag

This commit is contained in:
2024-05-22 15:16:02 +03:00
parent 1c3499afc8
commit e8743f0ae7
3 changed files with 26 additions and 3 deletions

7
Jenkinsfile vendored
View File

@@ -34,8 +34,11 @@ node {
def _msg = "Built images:"
pl.forEach ({ dist ->
_msg += build_docker(dist, rel_dir)
}, stageSuffix: "-shstk")
_msg += build_docker(dist, rel_dir)
},
stageSuffix: "-shstk",
ondemand: true
)
stage("Clean") {
sh "docker system prune -f"

View File

@@ -0,0 +1,20 @@
ARG DOCKER_PREFIX=wapmobil/
ARG IMAGE_FROM
FROM ${DOCKER_PREFIX}${IMAGE_FROM}
ARG LIBS_BUILD_NUMBER=9999
ARG JOBS_COUNT=4
ARG support_gl=1
ENV PATH=/opt/cmake/bin:$PATH
WORKDIR /soft
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shstk.ru/SHS/shstk.git
WORKDIR /soft/shstk_build_linux
RUN cmake -G Ninja -DICU=0 -DLOCAL=0 -DQGLENGINE=${support_gl} -DQGLVIEW=${support_gl} -DHAS_GL=${support_gl} -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
&& cmake --build ./ --target install -j${JOBS_COUNT} \
&& ldconfig \
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
&& rm -rf *
WORKDIR /soft/src

2
pip

Submodule pip updated: 7eae1e127c...af4b718053