mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
Merge branch 'ci_debu_build' into 'master'
[gitlab-ci] Debug build/test See merge request jschoeberl/netgen!202
This commit is contained in:
commit
25f9069f1e
@ -77,13 +77,13 @@ cleanup_win:
|
||||
variables:
|
||||
UBUNTU_VERSION: "18.04"
|
||||
|
||||
build_ubuntu:
|
||||
build_ubuntu_debug:
|
||||
<<: *ubuntu
|
||||
stage: build
|
||||
script:
|
||||
- docker build -t netgen_${CI_PIPELINE_ID}:${UBUNTU_VERSION} -f tests/dockerfile .
|
||||
- rm -f netgen_${CI_PIPELINE_ID}_$UBUNTU_VERSION.id
|
||||
- docker run --cidfile netgen_${CI_PIPELINE_ID}_${UBUNTU_VERSION}.id -e CCACHE_DIR=/ccache -v /mnt/ccache:/ccache netgen_${CI_PIPELINE_ID}:${UBUNTU_VERSION} bash /root/src/netgen/tests/build.sh
|
||||
- docker run --cidfile netgen_${CI_PIPELINE_ID}_${UBUNTU_VERSION}.id -e CCACHE_DIR=/ccache -v /mnt/ccache:/ccache netgen_${CI_PIPELINE_ID}:${UBUNTU_VERSION} bash /root/src/netgen/tests/build_debug.sh
|
||||
- docker commit `cat netgen_${CI_PIPELINE_ID}_${UBUNTU_VERSION}.id` netgen_${CI_PIPELINE_ID}_installed:${UBUNTU_VERSION}
|
||||
- rm netgen_${CI_PIPELINE_ID}_${UBUNTU_VERSION}.id
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
cd
|
||||
mkdir -p build/netgen
|
||||
cd build/netgen
|
||||
cmake ../../src/netgen -DUSE_CCACHE=ON
|
||||
cmake ../../src/netgen -DUSE_CCACHE=ON -DBUILD_TYPE=DEBUG
|
||||
make -j12
|
||||
make install
|
Loading…
Reference in New Issue
Block a user