diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f7de013..862011a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,82 +1,84 @@ stages: - docker - configure - build - test variables: IMAGE_TAG: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG GIT_SUBMODULE_STRATEGY: recursive BUILD_DIR: build-release cache: key: "$CI_COMMIT_REF_SLUG" docker build:debian: stage: docker image: docker:19.03.12 services: - docker:19.03.12-dind variables: # Use TLS https://docs.gitlab.com/ee/ci/docker/using_docker_build.html#tls-enabled DOCKER_HOST: tcp://docker:2376 DOCKER_TLS_CERTDIR: "/certs" script: - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker build -t $IMAGE_TAG . - docker push $IMAGE_TAG rules: - changes: - Dockerfile .debian_stable: image: $IMAGE_TAG configure: stage: configure extends: .debian_stable before_script: - rm -rf build-* script: - scons build_tests=True use_googletest=True build_python=True py_exec=python3 use_mpi=True verbose=True -h artifacts: paths: - build-setup.conf build: stage: build needs: [configure] extends: .debian_stable variables: - COMPILE_LOG: compilation.txt + COMPILE_LOG: compilation.log script: - scons 2>&1 | tee $COMPILE_LOG artifacts: paths: - $COMPILE_LOG - $BUILD_DIR test: stage: test needs: [build] extends: .debian_stable variables: PYTHONPATH: $CI_PROJECT_DIR/$BUILD_DIR/python TESTS: $BUILD_DIR/tests JUNITXML: results.xml + TESTS_LOG: tests.log script: - ls $PYTHONPATH - python3 -c 'import sys; print(sys.path)' - - python3 -m pytest -vvv --durations=0 --junitxml=$JUNITXML $TESTS + - python3 -m pytest -vvv --durations=0 --junitxml=$JUNITXML $TESTS 2>&1 | tee $TESTS_LOG artifacts: paths: - $JUNITXML + - $TESTS_LOG reports: junit: - $JUNITXML diff --git a/doc/sphinx/source/index.rst b/doc/sphinx/source/index.rst index c361edc..371c529 100644 --- a/doc/sphinx/source/index.rst +++ b/doc/sphinx/source/index.rst @@ -1,52 +1,52 @@ .. Tamaas documentation master file, created by sphinx-quickstart on Mon Apr 29 18:08:33 2019. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Tamaas --- A high-performance library for periodic rough surface contact ======================================================================== -.. image:: https://img.shields.io/badge/code-gitlab%2Ftag%2Ftamaas-9cf.svg +.. image:: https://img.shields.io/badge/code-gitlab.com%2Ftamaas-9cf.svg :target: https://gitlab.com/tamaas/tamaas .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.3479236.svg :target: https://doi.org/10.5281/zenodo.3479236 .. image:: https://joss.theoj.org/papers/86903c51f3c66964eef7776d8aeaf17d/status.svg :target: https://joss.theoj.org/papers/86903c51f3c66964eef7776d8aeaf17d .. image:: https://mybinder.org/badge_logo.svg :target: https://mybinder.org/v2/gl/tamaas%2Ftutorials/HEAD Tamaas (from تماس meaning "contact" in Arabic and Farsi) is a high-performance rough-surface periodic contact code based on boundary and volume integral equations. The clever mathematical formulation of the underlying numerical methods (see e.g. `10.1007/s00466-017-1392-5 `_ and `arXiv:1811.11558 `_) allows the use of the fast-Fourier Transform, a great help in achieving peak performance: Tamaas is consistently :doc:`two orders of magnitude faster ` (and lighter) than traditional FEM! Tamaas is aimed at researchers and practitioners wishing to compute realistic contact solutions for the study of interface phenomena. You can see Tamaas in action with our interactive :ref:`tutorials `. .. toctree:: :maxdepth: 2 :caption: Table of Contents: ./overview ./quickstart ./rough_surfaces ./model ./contact ./examples ./performance ./api_reference Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search`