2018-09-22 23:08:49 +00:00
|
|
|
# This file is a template, and might need editing before it works on your project.
|
|
|
|
# use the official gcc image, based on debian
|
|
|
|
# can use verions as well, like gcc:5.2
|
|
|
|
# see https://hub.docker.com/_/gcc/
|
2018-09-22 23:21:46 +00:00
|
|
|
image: walberla/buildenv-ubuntu-clang
|
2018-09-22 23:08:49 +00:00
|
|
|
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
# instead of calling g++ directly you can also use some build toolkit like make
|
|
|
|
# install the necessary build tools when needed
|
|
|
|
# before_script:
|
|
|
|
# - apt update && apt -y install make autoconf
|
|
|
|
script:
|
2018-09-22 23:21:46 +00:00
|
|
|
- CC=clang CXX=clang++ make
|
2018-09-22 23:08:49 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- tv_rename
|
|
|
|
# depending on your build setup it's most likely a good idea to cache outputs to reduce the build time
|
|
|
|
# cache:
|
|
|
|
# paths:
|
|
|
|
# - "*.o"
|