Skip to content

Commit

Permalink
[test] debug apt problems
Browse files Browse the repository at this point in the history
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
  • Loading branch information
kolyshkin committed Feb 2, 2021
1 parent bfacf7f commit 46813dd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,20 @@ jobs:

- name: install deps
run: |
set -x
# enable i386 arch
sudo dpkg --add-architecture i386
# add skopeo repo
echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/Debian_10/ /' | sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/Debian_10/Release.key -O- | sudo apt-key add -
# add criu repo
sudo add-apt-repository -y ppa:criu/ppa
# apt-add-repository runs apt update so we don't have to
sudo apt -q install libseccomp-dev libseccomp-dev:i386 criu skopeo
# apt-add-repository runs apt update so we don't have to.
# Due to a bug in apt, we have to update it first
# (see https://bugs.launchpad.net/ubuntu-cdimage/+bug/1871268)
sudo apt install apt
sudo apt install libseccomp-dev libseccomp-dev:i386 criu skopeo
- name: install go
uses: actions/setup-go@v2 # use default Go version
Expand Down

0 comments on commit 46813dd

Please sign in to comment.