M .gitlab-ci.yml => .gitlab-ci.yml +1 -9
@@ 1,12 1,4 @@
# If you have dependencies that aren't included in the Dockerfile.
# You might also consider making a new Docker image based on stack-build
# and pushing it to GitLab's registry to save on build time.
- apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main"
- apt update -y
- apt install -y llvm-8
# jobs of the same stage are executed in parallel
A Dockerfile => Dockerfile +7 -0
@@ 0,0 1,7 @@
# Dockerfile to use with GitLab CI
RUN apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-8 main" && \
apt update -y && \
apt install -y llvm-8
\ No newline at end of file