summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Engestrom <eric@engestrom.ch>2022-08-23 17:51:34 +0100
committerEric Engestrom <eric@engestrom.ch>2022-08-23 17:54:58 +0100
commit4a7706b2a4cddf6cd9bb95c9d0ac77070cbaacd8 (patch)
tree851cc257de087778eb3af12ee090d50435bbf85c
parent502f64cb309870be64488c3464f66d24ada9b7a5 (diff)
downloaddrm-4a7706b2a4cddf6cd9bb95c9d0ac77070cbaacd8.tar.gz
ci: drop dead script since e722ba9f67
Noticed-by: Michel Daenzer <michel@daenzer.net>
-rw-r--r--.gitlab-ci/debian-install.sh71
1 files changed, 0 insertions, 71 deletions
diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
deleted file mode 100644
index 6f7a212f..00000000
--- a/.gitlab-ci/debian-install.sh
+++ /dev/null
@@ -1,71 +0,0 @@
-#!/usr/bin/env bash
-set -o errexit
-set -o xtrace
-
-export DEBIAN_FRONTEND=noninteractive
-
-CROSS_ARCHITECTURES=(i386 armhf arm64 ppc64el)
-for arch in ${CROSS_ARCHITECTURES[@]}; do
- dpkg --add-architecture $arch
-done
-
-apt-get install -y \
- ca-certificates
-
-sed -i -e 's/http:\/\/deb/https:\/\/deb/g' /etc/apt/sources.list
-echo 'deb https://deb.debian.org/debian buster-backports main' >/etc/apt/sources.list.d/backports.list
-
-apt-get update
-
-# Use newer packages from backports by default
-cat >/etc/apt/preferences <<EOF
-Package: *
-Pin: release a=buster-backports
-Pin-Priority: 500
-EOF
-
-apt-get dist-upgrade -y
-
-EPHEMERAL="
- meson \
- "
-
-apt-get install -y --no-remove \
- $EPHEMERAL \
- build-essential \
- docbook-xsl \
- libatomic-ops-dev \
- libcairo2-dev \
- libcunit1-dev \
- libpciaccess-dev \
- ninja-build \
- pkg-config \
- python3 \
- python3-pip \
- python3-wheel \
- python3-setuptools \
- python3-docutils \
- valgrind
-
-for arch in ${CROSS_ARCHITECTURES[@]}; do
- cross_file=/cross_file-$arch.txt
-
- # Cross-build libdrm deps
- apt-get install -y --no-remove \
- libcairo2-dev:$arch \
- libpciaccess-dev:$arch \
- crossbuild-essential-$arch
-
- # Generate cross build files for Meson
- /usr/share/meson/debcrossgen --arch $arch -o $cross_file
-
- # Work around a bug in debcrossgen that should be fixed in the next release
- if [ $arch = i386 ]; then
- sed -i "s|cpu_family = 'i686'|cpu_family = 'x86'|g" $cross_file
- fi
-done
-
-apt-get purge -y $EPHEMERAL
-
-# Test that the oldest Meson version we claim to support is still supported
-pip3 install meson==0.53