mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-17 15:38:00 +00:00
Merge pull request #8674 from ChengyuZhu6/fix_statis_check
static-checks: Add some dependencies to static checks for CoCo features
This commit is contained in:
commit
04de6eb4fd
6
.github/workflows/static-checks.yaml
vendored
6
.github/workflows/static-checks.yaml
vendored
@ -98,6 +98,9 @@ jobs:
|
|||||||
- name: Install musl-tools
|
- name: Install musl-tools
|
||||||
if: ${{ matrix.component != 'runtime' }}
|
if: ${{ matrix.component != 'runtime' }}
|
||||||
run: sudo apt-get -y install musl-tools
|
run: sudo apt-get -y install musl-tools
|
||||||
|
- name: Install devicemapper
|
||||||
|
if: ${{ matrix.command == 'make check' && matrix.component == 'agent' }}
|
||||||
|
run: sudo apt-get -y install libdevmapper-dev
|
||||||
- name: Install libseccomp
|
- name: Install libseccomp
|
||||||
if: ${{ matrix.command != 'make vendor' && matrix.command != 'make check' && matrix.install-libseccomp == 'yes' }}
|
if: ${{ matrix.command != 'make vendor' && matrix.command != 'make check' && matrix.install-libseccomp == 'yes' }}
|
||||||
run: |
|
run: |
|
||||||
@ -107,6 +110,9 @@ jobs:
|
|||||||
echo "Set environment variables for the libseccomp crate to link the libseccomp library statically"
|
echo "Set environment variables for the libseccomp crate to link the libseccomp library statically"
|
||||||
echo "LIBSECCOMP_LINK_TYPE=static" >> $GITHUB_ENV
|
echo "LIBSECCOMP_LINK_TYPE=static" >> $GITHUB_ENV
|
||||||
echo "LIBSECCOMP_LIB_PATH=${libseccomp_install_dir}/lib" >> $GITHUB_ENV
|
echo "LIBSECCOMP_LIB_PATH=${libseccomp_install_dir}/lib" >> $GITHUB_ENV
|
||||||
|
- name: Install protobuf-compiler
|
||||||
|
if: ${{ matrix.command == 'make check' && matrix.component == 'agent' }}
|
||||||
|
run: sudo apt-get -y install protobuf-compiler
|
||||||
- name: Setup XDG_RUNTIME_DIR for the `runtime` tests
|
- name: Setup XDG_RUNTIME_DIR for the `runtime` tests
|
||||||
if: ${{ matrix.command != 'make vendor' && matrix.command != 'make check' && matrix.component == 'runtime' }}
|
if: ${{ matrix.command != 'make vendor' && matrix.command != 'make check' && matrix.component == 'runtime' }}
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user