mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 05:10:34 +05:00
Don't run slow tests in docker
This commit is contained in:
parent
7afbe4d7d1
commit
25371510a5
@ -85,7 +85,14 @@ build_ubuntu_debug:
|
|||||||
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_debug.sh
|
- >-
|
||||||
|
docker run
|
||||||
|
--cidfile netgen_${CI_PIPELINE_ID}_${UBUNTU_VERSION}.id
|
||||||
|
-e CCACHE_DIR=/ccache
|
||||||
|
-e RUN_SLOW_TESTS=${RUN_SLOW_TESTS}
|
||||||
|
-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
|
||||||
|
|
||||||
@ -95,7 +102,14 @@ build_ubuntu_mpi:
|
|||||||
script:
|
script:
|
||||||
- docker build -t netgen_mpi_${CI_PIPELINE_ID}:${UBUNTU_VERSION} -f tests/dockerfile_mpi .
|
- docker build -t netgen_mpi_${CI_PIPELINE_ID}:${UBUNTU_VERSION} -f tests/dockerfile_mpi .
|
||||||
- rm -f netgen_mpi_${CI_PIPELINE_ID}_$UBUNTU_VERSION.id_mpi
|
- rm -f netgen_mpi_${CI_PIPELINE_ID}_$UBUNTU_VERSION.id_mpi
|
||||||
- docker run --cidfile netgen_mpi_${CI_PIPELINE_ID}_${UBUNTU_VERSION}.id -e CCACHE_DIR=/ccache -v /mnt/ccache:/ccache netgen_mpi_${CI_PIPELINE_ID}:${UBUNTU_VERSION} bash /root/src/netgen/tests/build_mpi.sh
|
- >-
|
||||||
|
docker run>-
|
||||||
|
--cidfile netgen_mpi_${CI_PIPELINE_ID}_${UBUNTU_VERSION}.id>-
|
||||||
|
-e CCACHE_DIR=/ccache
|
||||||
|
-e RUN_SLOW_TESTS=${RUN_SLOW_TESTS}
|
||||||
|
-v /mnt/ccache:/ccache
|
||||||
|
netgen_mpi_${CI_PIPELINE_ID}:${UBUNTU_VERSION}
|
||||||
|
bash /root/src/netgen/tests/build_mpi.sh
|
||||||
- docker commit `cat netgen_mpi_${CI_PIPELINE_ID}_${UBUNTU_VERSION}.id` netgen_mpi_${CI_PIPELINE_ID}_installed:${UBUNTU_VERSION}
|
- docker commit `cat netgen_mpi_${CI_PIPELINE_ID}_${UBUNTU_VERSION}.id` netgen_mpi_${CI_PIPELINE_ID}_installed:${UBUNTU_VERSION}
|
||||||
- rm netgen_mpi_${CI_PIPELINE_ID}_${UBUNTU_VERSION}.id
|
- rm netgen_mpi_${CI_PIPELINE_ID}_${UBUNTU_VERSION}.id
|
||||||
|
|
||||||
@ -105,6 +119,7 @@ test_ubuntu:
|
|||||||
script:
|
script:
|
||||||
- >-
|
- >-
|
||||||
docker run
|
docker run
|
||||||
|
-e RUN_SLOW_TESTS=${RUN_SLOW_TESTS}
|
||||||
-e NETGENDIR=/opt/netgen/bin
|
-e NETGENDIR=/opt/netgen/bin
|
||||||
-e PYTHONPATH=/opt/netgen/lib/python3/dist-packages
|
-e PYTHONPATH=/opt/netgen/lib/python3/dist-packages
|
||||||
netgen_${CI_PIPELINE_ID}_installed:${UBUNTU_VERSION}
|
netgen_${CI_PIPELINE_ID}_installed:${UBUNTU_VERSION}
|
||||||
@ -116,6 +131,7 @@ test_ubuntu_mpi:
|
|||||||
script:
|
script:
|
||||||
- >-
|
- >-
|
||||||
docker run
|
docker run
|
||||||
|
-e RUN_SLOW_TESTS=${RUN_SLOW_TESTS}
|
||||||
-e NETGENDIR=/opt/netgen/bin
|
-e NETGENDIR=/opt/netgen/bin
|
||||||
-e PYTHONPATH=/opt/netgen/lib/python3/dist-packages
|
-e PYTHONPATH=/opt/netgen/lib/python3/dist-packages
|
||||||
netgen_mpi_${CI_PIPELINE_ID}_installed:${UBUNTU_VERSION}
|
netgen_mpi_${CI_PIPELINE_ID}_installed:${UBUNTU_VERSION}
|
||||||
|
Loading…
Reference in New Issue
Block a user