# HG changeset patch # User Christian Brabandt # Date 1706728507 -3600 # Node ID 752da4c70ab484dd4596a54064f30276105fc5d0 # Parent 16a75ce45d44d66ef9d9302f77aae7bf77cbdb6a CI: get rid of snap and speed up CI (#13938) Commit: https://github.com/vim/vim/commit/0a3d36968737ad70bf234b6cc438230911b14f9c Author: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Wed Jan 31 20:04:22 2024 +0100 CI: get rid of snap and speed up CI (https://github.com/vim/vim/issues/13938) Signed-off-by: Philip H <47042125+pheiduck@users.noreply.github.com> Signed-off-by: Christian Brabandt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -90,6 +90,10 @@ jobs: - run: sudo dpkg --add-architecture i386 if: matrix.architecture == 'i386' + - name: Uninstall snap + run: | + sudo bash ci/remove_snap.sh + - name: Install packages run: | PKGS=( \ diff --git a/Filelist b/Filelist --- a/Filelist +++ b/Filelist @@ -20,6 +20,7 @@ SRC_ALL = \ ci/config.mk*.sed \ ci/if_ver*.vim \ ci/setup-xvfb.sh \ + ci/remove_snap.sh \ src/Make_all.mak \ src/README.md \ src/alloc.c \ diff --git a/ci/remove_snap.sh b/ci/remove_snap.sh new file mode 100644 --- /dev/null +++ b/ci/remove_snap.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env sh +pushd /etc/apt/preferences.d/ +cat > nosnap.pref <