mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
[gitlab-ci] Debug build/test
This commit is contained in:
parent
afe65337bf
commit
f33b9f826a
@ -77,13 +77,13 @@ cleanup_win:
|
|||||||
variables:
|
variables:
|
||||||
UBUNTU_VERSION: "18.04"
|
UBUNTU_VERSION: "18.04"
|
||||||
|
|
||||||
build_ubuntu:
|
build_ubuntu_debug:
|
||||||
<<: *ubuntu
|
<<: *ubuntu
|
||||||
stage: build
|
stage: build
|
||||||
script:
|
script:
|
||||||
- docker build -t netgen_${CI_PIPELINE_ID}:${UBUNTU_VERSION} -f tests/dockerfile .
|
- docker build -t netgen_${CI_PIPELINE_ID}:${UBUNTU_VERSION} -f tests/dockerfile .
|
||||||
- rm -f netgen_${CI_PIPELINE_ID}_$UBUNTU_VERSION.id
|
- 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}
|
- 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
|
- rm netgen_${CI_PIPELINE_ID}_${UBUNTU_VERSION}.id
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
cd
|
cd
|
||||||
mkdir -p build/netgen
|
mkdir -p build/netgen
|
||||||
cd build/netgen
|
cd build/netgen
|
||||||
cmake ../../src/netgen -DUSE_CCACHE=ON
|
cmake ../../src/netgen -DUSE_CCACHE=ON -DBUILD_TYPE=DEBUG
|
||||||
make -j12
|
make -j12
|
||||||
make install
|
make install
|
Loading…
Reference in New Issue
Block a user