diff options
author | Pierre Ossman <ossman@cendio.se> | 2021-11-05 12:50:59 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2021-11-05 12:50:59 +0100 |
commit | 733c6b5f81a1c049c2c65e415d7a5c3984ded96e (patch) | |
tree | dfb53a52ef01ca5da0c028c0cc906ea2039fcee8 /.github/containers | |
parent | 08554668c2c3b9b50c4b06188fc95b75b9e70628 (diff) | |
download | tigervnc-733c6b5f81a1c049c2c65e415d7a5c3984ded96e.tar.gz tigervnc-733c6b5f81a1c049c2c65e415d7a5c3984ded96e.zip |
Drop Ubuntu 16.04 from builds
This version of Ubuntu is no longer fully supported so let's stop caring
about builds there.
Diffstat (limited to '.github/containers')
-rw-r--r-- | .github/containers/xenial/Dockerfile | 11 | ||||
-rwxr-xr-x | .github/containers/xenial/build.sh | 55 |
2 files changed, 0 insertions, 66 deletions
diff --git a/.github/containers/xenial/Dockerfile b/.github/containers/xenial/Dockerfile deleted file mode 100644 index ad5414fd..00000000 --- a/.github/containers/xenial/Dockerfile +++ /dev/null @@ -1,11 +0,0 @@ -FROM ubuntu:xenial - -RUN apt-get update -RUN apt-get -y install packaging-dev equivs - -RUN useradd -s /bin/bash -m deb -RUN echo >> /etc/sudoers -RUN echo "deb ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers - -USER deb -WORKDIR /home/deb diff --git a/.github/containers/xenial/build.sh b/.github/containers/xenial/build.sh deleted file mode 100755 index 60949eee..00000000 --- a/.github/containers/xenial/build.sh +++ /dev/null @@ -1,55 +0,0 @@ -#!/bin/bash - -set -e -set -x - -## Basic variables - -CURDIR=$(dirname $(readlink -f $0)) -TOPDIR=$(git rev-parse --show-toplevel 2>/dev/null) - -DEBDIR=${TOPDIR}/contrib/packages/deb/ubuntu-xenial - -VERSION=$(grep '^set(VERSION ' ${TOPDIR}/CMakeLists.txt | sed 's@^set(VERSION \(.*\))@\1@') - -## Prepare the build directory - -rm -rf ${CURDIR}/build -mkdir -p ${CURDIR}/build -chmod a+w ${CURDIR}/build -[ -x /usr/sbin/selinuxenabled ] && /usr/sbin/selinuxenabled && chcon -Rt container_file_t ${CURDIR}/build - -## Copy over the source code - -(cd ${TOPDIR} && git archive --prefix tigervnc-${VERSION}/ HEAD) | xz > ${CURDIR}/build/tigervnc_${VERSION}.orig.tar.xz - -## Copy over the packaging files - -cp -r ${DEBDIR}/debian ${CURDIR}/build/debian - -chmod a+x ${CURDIR}/build/debian/rules - -# Assemble a fake changelog entry to get the correct version - -cat - > ${CURDIR}/build/debian/changelog << EOT -tigervnc (${VERSION}-1ubuntu1) UNRELEASED; urgency=low - - * Automated build for TigerVNC - - -- Build bot <tigervncbot@tigervnc.org> $(date -R) - -EOT -cat ${DEBDIR}/debian/changelog >> ${CURDIR}/build/debian/changelog - -## Start the build - -docker run --volume ${CURDIR}/build:/home/deb/build --interactive --rm tigervnc/${DOCKER} \ - bash -c " - tar -C ~/build -axf ~/build/tigervnc_${VERSION}.orig.tar.xz && - cp -a ~/build/debian ~/build/tigervnc-${VERSION}/debian && - mk-build-deps ~/build/tigervnc-${VERSION}/debian/control && - sudo dpkg --unpack ~/tigervnc-build-deps_*.deb && - sudo apt-get update && - sudo apt-get -f install -y && - cd ~/build/tigervnc-${VERSION} && dpkg-buildpackage - " |