Merge pull request 'master' (#207) from master into release
All checks were successful
SHS Gitea/shstk/pipeline/head This commit looks good
All checks were successful
SHS Gitea/shstk/pipeline/head This commit looks good
Reviewed-on: https://git.shs.tools/SHS/shstk/pulls/207
This commit was merged in pull request #207.
This commit is contained in:
2
cmake
2
cmake
Submodule cmake updated: 43a9d8be6f...6c0de52180
24
docker/linux_cross-shstk/Dockerfile
Normal file
24
docker/linux_cross-shstk/Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
ARG DOCKER_PREFIX=wapmobil/
|
||||
ARG IMAGE_FROM
|
||||
FROM ${DOCKER_PREFIX}${IMAGE_FROM}
|
||||
|
||||
ARG LIBS_BUILD_NUMBER=9999
|
||||
ARG JOBS_COUNT=4
|
||||
ENV PATH=/opt/cmake/bin:$PATH
|
||||
|
||||
WORKDIR /soft
|
||||
RUN git clone -b release --single-branch --depth 1 --recursive https://git.shs.tools/SHS/shstk.git
|
||||
|
||||
WORKDIR /soft/shstk_build_host
|
||||
RUN cmake -G Ninja -DICU=0 -DCROSSTOOLS=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} ../shstk \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& rm -rf * \
|
||||
&& ldconfig
|
||||
|
||||
WORKDIR /soft/shstk_build
|
||||
RUN cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/soft/target -DICU=0 -DLOCAL=1 -DQGLENGINE=1 -DQGLVIEW=1 -DBUILD_NUMBER=${LIBS_BUILD_NUMBER} -DCMAKE_TOOLCHAIN_FILE=/soft/toolchain.cmake ../shstk/ \
|
||||
&& cmake --build ./ --target install -j${JOBS_COUNT} \
|
||||
&& cmake --build ./ --target deploy -j${JOBS_COUNT} \
|
||||
&& rm -rf *
|
||||
|
||||
WORKDIR /soft/src
|
||||
Reference in New Issue
Block a user