Commit 2bef0e05 authored by Marvin Scholz's avatar Marvin Scholz

Add build job for rust 1.34 image

parent dd95eaf2
Pipeline #514 failed with stage
in 1 minute and 20 seconds
Rust 1.34 stretch image:
stage: build
tags:
- dind
- privileged
services:
- docker:dind
script:
- docker build -t $CI_REGISTRY_IMAGE/rust-1.34-rav1e ./rust-1.34-rav1e
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN $CI_REGISTRY
- docker push $CI_REGISTRY_IMAGE/rust-1.34-rav1e:latest
only:
- master
FROM rust:1.34
RUN apt-get update -qq && \
apt-get install -qqy \
autoconf \
automake \
autopoint \
gettext \
libtool-bin \
bzip2 \
flex \
make \
gcc \
g++ \
g++-multilib \
git \
gperf \
patch \
pkg-config \
sed \
unzip \
wget \
lzip \
xz-utils \
cmake \
ninja-build
RUN curl -L https://download.videolan.org/contrib/nasm/nasm-2.14.tar.gz | tar xvz && \
cd nasm-2.14 && \
./configure && make -j2 && sudo make install && \
cd .. && \
curl -L https://github.com/SimonKagstrom/kcov/archive/v36.tar.gz | tar xvz && \
cd kcov-36 && \
mkdir .build && cd .build && \
cmake -GNinja .. && \
ninja && sudo ninja install \
cd ../.. && \
git clone --depth 1 -b v1.0.0-errata1 https://aomedia.googlesource.com/aom && \
cd aom && \
mkdir -p .build && cd .build && \
cmake -GNinja .. \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_TESTS=0 \
-DENABLE_DOCS=0 \
-DCONFIG_LOWBITDEPTH=1 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCONFIG_PIC=1 && \
ninja && sudo ninja install
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