Commit 7b2e7a70 authored by Jannick Wolters's avatar Jannick Wolters
Browse files

moved gitlab-ci to root dir

parent f7d0c5ef
......@@ -476,6 +476,9 @@ tags
# Coc configuration directory
.vim
# gitkeep files
.gitkeep
# project folder
code/bin/*
code/build/*
......
......@@ -2,10 +2,12 @@ image: ubuntu:18.04
stages:
- build
- test
- unit_tests
build:
stage: build
artifacts:
untracked: true
script:
- apt-get update
- apt-get install -y g++ cmake libopenmpi-dev libblas-dev liblapack-dev git ninja-build
......@@ -14,7 +16,9 @@ build:
- cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=True -DCMAKE_EXPORT_COMPILE_COMMANDS=True ../../
- ninja
test:
stage: test
unit_tests:
stage: unit_tests
dependencies:
- build
script:
- bin/unit_tests
- ./code/bin/unit_tests
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment