Skip to content

Commit

Permalink
Try to clean up if the AMP repository doesn't have this distribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
brendonj committed Nov 25, 2020
1 parent 0f6a116 commit 957a2ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ stages:
apt-get install -y ca-certificates devscripts dpkg-dev equivs lsb-release wget gnupg apt-transport-https &&
echo "deb https://dl.bintray.com/wand/amp `lsb_release -c -s` main" > /etc/apt/sources.list.d/amplet2.list &&
wget -O- https://bintray.com/user/downloadSubjectPublicKey?username=wand | apt-key add - &&
{ apt-get update || rm /etc/apt/sources.list.d/amplet2.list; } &&
export DEBEMAIL='[email protected]' &&
export DEBFULLNAME='Brendon Jones' &&
export CODENAME=`lsb_release -c -s` &&
export ARCH=`dpkg-architecture -qDEB_HOST_ARCH` &&
{ wget -nv https://wand.net.nz/~brendonj/amp/youtube/chromium-libs_$CODENAME-$ARCH.tar.gz && tar xzvf chromium-libs_$CODENAME-$ARCH.tar.gz && echo "deb http://apt.llvm.org/${CODENAME}/ llvm-toolchain-${CODENAME} main" > /etc/apt/sources.list.d/llvm-toolchain.list && wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && export YOUTUBE="pkg.amplet2.build-youtube" || true; } &&
{ apt-get update || true; } &&
{ wget -nv https://wand.net.nz/~brendonj/amp/youtube/chromium-libs_$CODENAME-$ARCH.tar.gz && tar xzvf chromium-libs_$CODENAME-$ARCH.tar.gz && echo "deb http://apt.llvm.org/${CODENAME}/ llvm-toolchain-${CODENAME} main" > /etc/apt/sources.list.d/llvm-toolchain.list && wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && apt-get update && export YOUTUBE="pkg.amplet2.build-youtube" || true; } &&
{ apt-cache show libpjproject-dev > /dev/null 2>&1 && export SIP="pkg.amplet2.build-sip" || true; } &&
export DEB_BUILD_PROFILES="$YOUTUBE $SIP" &&
mk-build-deps -i -r -t 'apt-get -f -y --force-yes'
Expand Down

0 comments on commit 957a2ca

Please sign in to comment.