From d1e868c832d42f443dbd55118b2eff9aa92b021a Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Wed, 28 Jul 2021 12:37:45 +0100 Subject: [PATCH] ci: install criu from PPA The current latest version of CRIU is 3.15 and soon will be released 3.16. If CRIU is installed from PPA it would always test with the latest released version. Signed-off-by: Radostin Stoyanov --- .github/workflows/ci.yml | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bc097e466..ff03a03b7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -385,20 +385,9 @@ jobs: - name: Install criu run: | - sudo apt-get install -y \ - libprotobuf-dev \ - libprotobuf-c-dev \ - protobuf-c-compiler \ - protobuf-compiler \ - python-protobuf \ - libnl-3-dev \ - libnet-dev \ - libcap-dev \ - python-future - wget https://github.com/checkpoint-restore/criu/archive/v3.13.tar.gz -O criu.tar.gz - tar -zxf criu.tar.gz - cd criu-3.13 - sudo make install-criu + sudo add-apt-repository ppa:criu/ppa + sudo apt-get update + sudo apt-get install -y criu - name: Install containerd env: