Commit 01a201a0 authored by Rohan Garg's avatar Rohan Garg

Initial import of gitlab-ci.yml

parent 5ed4e31c
variables:
APT_OPTIONS: -y --allow-unauthenticated
CCACHE_BASEDIR: $CI_PROJECT_DIR
CCACHE_DIR: $CI_PROJECT_DIR/ccache
stages:
- build
# Retry jobs after runner system failures
.retry: &retry
retry:
max: 2
when:
- runner_system_failure
build:
stage: build
image: aarch64/debian:testing
cache:
paths:
- ccache
before_script:
- echo "deb http://deb.debian.org/debian testing main contrib non-free" > /etc/apt/sources.list
- echo "deb-src http://deb.debian.org/debian testing main contrib non-free" >> /etc/apt/sources.list
- apt-get update && apt-get $APT_OPTIONS build-dep mesa && apt-get $APT_OPTIONS install ccache
script:
- export PATH="/usr/lib/ccache:$PATH"
- ccache -s
- mkdir build && cd build
- meson .. . -Ddri-drivers= -Dvulkan-drivers= -Dgallium-drivers=panfrost,kmsro -Dlibunwind=false
- ninja
- DESTDIR=$CI_PROJECT_DIR/artifacts ninja install
artifacts:
name: libs
paths:
- $CI_PROJECT_DIR/artifacts
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