Skip to content

Commit

Permalink
added clang target in ubuntu18
Browse files Browse the repository at this point in the history
  • Loading branch information
ingowald committed Jan 26, 2019
1 parent 1aa358f commit d78d1ca
Showing 1 changed file with 56 additions and 20 deletions.
76 changes: 56 additions & 20 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,63 +1,99 @@
stages:
- build

ubuntu18-gcc-release:

# -------------------------------------------------------
# ubuntu 16
# -------------------------------------------------------
ubuntu16-gcc-release:
stage: build
tags:
- docker
image: ubuntu:18.04
image: ubuntu:16.04
script:
- apt -y update
- apt -y install cmake g++
- mkdir build-gcc-release
- cd build-gcc-release
- mkdir build
- cd build
- export CXX=g++
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make

ubuntu18-gcc-debug:
ubuntu16-gcc-debug:
stage: build
tags:
- docker
image: ubuntu:18.04
image: ubuntu:16.04
script:
- apt -y update
- apt -y install cmake g++
- mkdir build-gcc-debug
- cd build-gcc-debug
- mkdir build
- cd build
- export CXX=g++
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- make





ubuntu16-gcc-release:
# -------------------------------------------------------
# ubuntu 18
# -------------------------------------------------------
ubuntu18-gcc-release:
stage: build
tags:
- docker
image: ubuntu:16.04
image: ubuntu:18.04
script:
- apt -y update
- apt -y install cmake g++
- mkdir build-gcc-release
- cd build-gcc-release
- mkdir build
- cd build
- export CXX=g++
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make

ubuntu16-gcc-debug:
ubuntu18-gcc-debug:
stage: build
tags:
- docker
image: ubuntu:16.04
image: ubuntu:18.04
script:
- apt -y update
- apt -y install cmake g++
- mkdir build-gcc-debug
- cd build-gcc-debug
- mkdir build
- cd build
- export CXX=g++
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- make

ubuntu18-gcc-release:
stage: build
tags:
- docker
image: ubuntu:18.04
script:
- apt -y update
- apt -y install cmake clang-6.0
- mkdir build
- cd build
- export CXX=clang++
- cmake -DCMAKE_BUILD_TYPE=Release ..
- make

ubuntu18-gcc-debug:
stage: build
tags:
- docker
image: ubuntu:18.04
script:
- apt -y update
- apt -y install cmake clang-6.0
- mkdir build
- cd build
- export CXX=clang++
- cmake -DCMAKE_BUILD_TYPE=Debug ..
- make






0 comments on commit d78d1ca

Please sign in to comment.