Skip to content

Commit 72bd233

Browse files
author
Philipp Schubert
committed
Update .gitlab-ci.yml
1 parent f4f57a4 commit 72bd233

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

.gitlab-ci.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
image: debian:sid-slim
1+
image: pdschbrt/phasar-build-environment:latest
22

33
stages:
44
- build
55

66
# install the necessary build tools
77
before_script:
8-
- apt update && apt-get install -y build-essential clang-5.0 libclang-5.0-dev llvm-5.0 libboost1.62-all-dev sqlite3 libsqlite3-dev bear python3 git cmake zlib1g-dev libncurses5-dev graphviz doxygen libcurl4-gnutls-dev libboost1.62-dev libboost-dev libmysqlcppconn-dev
9-
- export PATH="/usr/lib/llvm-5.0/bin:$PATH"
108
- git submodule update --init --recursive
119

1210
build:
@@ -19,10 +17,8 @@ build:
1917
- cat /proc/meminfo
2018
- echo "checking CPU(s)"
2119
- cat /proc/cpuinfo
22-
- cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DPHASAR_BUILD_UNITTESTS=ON -DPHASAR_BUILD_DOC=ON ..
20+
- CC=clang CXX=clang++ cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DPHASAR_BUILD_UNITTESTS=ON ..
2321
- make -j4
24-
# Fix the unit tests first
25-
# - make test
2622
# Install Phasar and test the examples
2723
- make install
2824
- cd /builds/pdschbrt/sse_dfa_llvm/examples/llvm-hello_world/
@@ -34,16 +30,15 @@ build:
3430
only:
3531
- master
3632
- develop
37-
- restructure
33+
- f-FixGitLabCI
3834
tags:
3935
- shared
4036
# save the documentation and binary
4137
artifacts:
42-
name: "PhasarFramework-$CI_BUILD_ID-$CI_BUILD_REF"
38+
name: "PhASAR-$CI_BUILD_ID-$CI_BUILD_REF"
4339
expire_in: 1 week
4440
paths:
45-
- build/docs/*
46-
- build/phasar
41+
- build/
4742
# depending on the build setup it's a good idea to cache outputs to reduce the build time
4843
cache:
4944
paths:

0 commit comments

Comments
 (0)