diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ea2a7e3e5ebad2e8c3ae4b92167f531fef11becc..3ef99c0a2df1d24969ae975a6843d65950a30f7b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,27 +1,30 @@ # stages: # - build -build_and_test: - image: registry.gitlab.com/rboman_docker/gmsh_python - # stage: build - script: - - cd cxxfem - - mkdir build - - cd build - - cmake -DFEM_USE_MKL=OFF .. - - make -j 4 +# build_and_test: +# image: registry.gitlab.com/rboman_docker/gmsh_python +# # stage: build +# script: +# - cd cxxfem +# - mkdir build +# - cd build +# - cmake -DFEM_USE_MKL=OFF .. +# - make -j 4 send-snapshot: image: python:3.6 script: - - if [[ ! $CI_COMMIT_TAG =~ ^v?[0-9]+\.[0-9]+ ]]; then exit 0; fi - - git clone https://gitlab.com/sbeniamine/gitlab2zenodo.git - - cd gitlab2zenodo - - python setup.py install - - cd .. - - rm -rf gitlab2zenodo + # - if [[ ! $CI_COMMIT_TAG =~ ^v?[0-9]+\.[0-9]+ ]]; then exit 0; fi + # - git clone https://gitlab.com/sbeniamine/gitlab2zenodo.git + # - cd gitlab2zenodo + # - python setup.py install + # - cd .. + # - rm -rf gitlab2zenodo # - pip install gitlab2zenodo + - du -k + - git --version - git archive --format zip --output ${CI_COMMIT_TAG#v}.zip ${CI_COMMIT_TAG} - - g2z-send -s -m .zenodo.json ${CI_COMMIT_TAG#v}.zip - only: - - tags + - ls -alF ${CI_COMMIT_TAG#v}.zip + # - g2z-send -s -m .zenodo.json ${CI_COMMIT_TAG#v}.zip +# only: +# - tags