Commit 072ff086 authored by Florian Oetke's avatar Florian Oetke
Browse files

added gitlab-ci

parent e7078e39
......@@ -5,7 +5,7 @@ stages:
build_gcc:
stage: build
script:
script:
- export CC=gcc
- export CXX=g++
- mkdir build
......@@ -19,13 +19,14 @@ build_gcc:
build_clang:
stage: build
script:
script:
- export CC=clang
- export CXX=clang++
- mkdir build
- cd build
- can-build --use-c++=clang++ cmake -DMIRRAGE_FORCE_LIBCPP=ON -G "Unix Makefiles"
- scan-build --use-c++=clang++ -enable-checker deadcode.DeadStores -enable-checker security.insecureAPI.UncheckedReturn --status-bugs -v cmake --build .
- cmake -DCMAKE_BUILD_TYPE=Release
- cmake --build .
artifacts:
paths:
- build/src/demo/demo
- build/src/mirrage/*/*.a
......@@ -37,8 +38,8 @@ build_scanbuild:
- export CXX=clang++
- mkdir build
- cd build
- cmake -DCMAKE_BUILD_TYPE=Release
- cmake --build .
- can-build --use-c++=clang++ cmake -DMIRRAGE_FORCE_LIBCPP=ON -G "Unix Makefiles"
- scan-build --use-c++=clang++ -enable-checker deadcode.DeadStores -enable-checker security.insecureAPI.UncheckedReturn --status-bugs -v cmake --build .
artifacts:
paths:
- build/src/demo/demo
......
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