Commit c41b3356 authored by Florian Oetke's avatar Florian Oetke
Browse files

fixed gitlab ci script

parent 7777cc54
......@@ -11,9 +11,9 @@ build_gcc:
script:
- export CC=gcc
- export CXX=g++
- mkdir build
- mkdir -p build
- cd build
- mkdir bin
- mkdir -p bin
- rm -rf src
- cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=../bin -DCMAKE_BUILD_TYPE=Release -DMIRRAGE_EXPORT_EXECUTABLE=ON ..
- cmake --build . --target src/install
......@@ -35,9 +35,9 @@ build_clang:
script:
- export CC=clang
- export CXX=clang++
- mkdir build
- mkdir -p build
- cd build
- mkdir bin
- mkdir -p bin
- rm -rf src
- cmake -G Ninja -DCMAKE_INSTALL_PREFIX:PATH=../bin -DCMAKE_BUILD_TYPE=Release -DMIRRAGE_EXPORT_EXECUTABLE=ON ..
- cmake --build . --target src/install
......@@ -59,7 +59,7 @@ build_scanbuild:
script:
- export CC=clang
- export CXX=clang++
- mkdir build
- mkdir -p build
- cd build
- scan-build --use-c++=clang++ --use-cc=clang cmake -DMIRRAGE_FORCE_LIBCPP=ON -DMIRRAGE_ENABLE_COTIRE=OFF -G "Unix Makefiles" ..
- scan-build -o result --use-c++=clang++ --use-cc=clang -enable-checker deadcode.DeadStores -enable-checker security.insecureAPI.UncheckedReturn --status-bugs -v cmake --build . || true
......
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