From 3cc55ff8af63a2e88e3e7f4faf323c4951972692 Mon Sep 17 00:00:00 2001 From: ChengyuZhu6 Date: Fri, 23 Feb 2024 16:16:43 +0800 Subject: [PATCH] build-checks: Install protoc in the ci environments To test PR #8484 for pulling image in the guest with image-rs, the compilation process for the kata-agent relies on protoc: https://github.com/kata-containers/kata-containers/actions/runs/8016317290/job/21898040849?pr=8484 https://github.com/kata-containers/kata-containers/actions/runs/8016534530/job/21898654435?pr=8484 Fixes: #9141 Signed-off-by: ChengyuZhu6 --- .github/workflows/build-checks.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-checks.yaml b/.github/workflows/build-checks.yaml index 3d58d21aa1..41af846b54 100644 --- a/.github/workflows/build-checks.yaml +++ b/.github/workflows/build-checks.yaml @@ -95,7 +95,7 @@ jobs: echo "LIBSECCOMP_LINK_TYPE=static" >> $GITHUB_ENV echo "LIBSECCOMP_LIB_PATH=${libseccomp_install_dir}/lib" >> $GITHUB_ENV - name: Install protobuf-compiler - if: ${{ matrix.command == 'make check' && matrix.component == 'agent' }} + if: ${{ matrix.command != 'make vendor' && (matrix.component == 'agent' || matrix.component == 'runk') }} run: sudo apt-get -y install protobuf-compiler - name: Install clang if: ${{ matrix.command == 'make check' && matrix.component == 'agent' }}