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 <rstoyanov@fedoraproject.org>
This commit is contained in:
Radostin Stoyanov
2021-07-28 12:37:45 +01:00
parent 5d3e8fd2c0
commit d1e868c832

View File

@@ -385,20 +385,9 @@ jobs:
- name: Install criu - name: Install criu
run: | run: |
sudo apt-get install -y \ sudo add-apt-repository ppa:criu/ppa
libprotobuf-dev \ sudo apt-get update
libprotobuf-c-dev \ sudo apt-get install -y criu
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
- name: Install containerd - name: Install containerd
env: env: