Skip to content

Commit b64bb16

Browse files
committed
merge #4818 into opencontainers/runc:main
Kir Kolyshkin (1): ci: speed up criu-dev install LGTMs: lifubang cyphar
2 parents b33b527 + 1a26cf3 commit b64bb16

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,9 @@ jobs:
125125
sudo apt -qy install \
126126
libcap-dev libnet1-dev libnl-3-dev uuid-dev \
127127
libprotobuf-c-dev libprotobuf-dev protobuf-c-compiler protobuf-compiler
128-
git clone https://github.com/checkpoint-restore/criu.git ~/criu
129-
(cd ~/criu && git checkout ${{ matrix.criu }} && sudo make install-criu)
128+
git clone --depth 1 --branch ${{ matrix.criu }} --single-branch \
129+
https://github.com/checkpoint-restore/criu.git ~/criu
130+
(cd ~/criu && sudo make -j $(nproc) install-criu)
130131
rm -rf ~/criu
131132
132133
- name: install go ${{ matrix.go-version }}

0 commit comments

Comments
 (0)