mirror of
https://github.com/opencontainers/runc.git
synced 2025-09-26 19:41:35 +08:00
ci: speed up criu-dev install
Employ shallow git clone and parallel build, speeding up build. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
@@ -125,8 +125,9 @@ jobs:
|
||||
sudo apt -qy install \
|
||||
libcap-dev libnet1-dev libnl-3-dev uuid-dev \
|
||||
libprotobuf-c-dev libprotobuf-dev protobuf-c-compiler protobuf-compiler
|
||||
git clone https://github.com/checkpoint-restore/criu.git ~/criu
|
||||
(cd ~/criu && git checkout ${{ matrix.criu }} && sudo make install-criu)
|
||||
git clone --depth 1 --branch ${{ matrix.criu }} --single-branch \
|
||||
https://github.com/checkpoint-restore/criu.git ~/criu
|
||||
(cd ~/criu && sudo make -j $(nproc) install-criu)
|
||||
rm -rf ~/criu
|
||||
|
||||
- name: install go ${{ matrix.go-version }}
|
||||
|
Reference in New Issue
Block a user