IAP GITLAB

Skip to content
Snippets Groups Projects
.gitlab-ci.yml 895 B
Newer Older
ralfulrich's avatar
ralfulrich committed
image: ubuntu:bionic
ralfulrich's avatar
ralfulrich committed

ralfulrich's avatar
ralfulrich committed
variables:
  GIT_SSL_NO_VERIFY: "1"

Hans Dembinski's avatar
Hans Dembinski committed
before_script:
  - apt-get update --yes
ralfulrich's avatar
ralfulrich committed
  - apt-get install --yes cmake libboost-dev libeigen3-dev python3 gfortran
Hans Dembinski's avatar
Hans Dembinski committed

build:
  stage: build
ralfulrich's avatar
ralfulrich committed
  tags:
    - run1
Hans Dembinski's avatar
Hans Dembinski committed
  script:
    - mkdir build
    - cd build
    - cmake ..
    - cmake --build .
ralfulrich's avatar
ralfulrich committed
    - ctest
ralfulrich's avatar
ralfulrich committed

Ralf Ulrich's avatar
Ralf Ulrich committed
# code_quality:
#   image: docker:stable
#   variables:
#     DOCKER_DRIVER: overlay2
#   allow_failure: true
#   services:
#     - docker:stable-dind
#   script:
#     - export SP_VERSION=$(echo "$CI_SERVER_VERSION" | sed 's/^\([0-9]*\)\.\([0-9]*\).*/\1-\2-stable/')
#     - docker run
#         --env SOURCE_CODE="$PWD"
#         --volume "$PWD":/code
#         --volume /var/run/docker.sock:/var/run/docker.sock
#         "registry.gitlab.com/gitlab-org/security-products/codequality:$SP_VERSION" /code
#   artifacts:
#     reports:
#       codequality: gl-code-quality-report.json