From a5256d62c586c3a241915103dc06c10198276372 Mon Sep 17 00:00:00 2001 From: Andrea Terzolo Date: Mon, 11 Dec 2023 17:55:31 +0100 Subject: [PATCH] chore(CI): adapt CI to build `k8smeta` plugin Signed-off-by: Andrea Terzolo --- .github/workflows/reusable_build_packages.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable_build_packages.yaml b/.github/workflows/reusable_build_packages.yaml index 21df9ba4..c3f37143 100644 --- a/.github/workflows/reusable_build_packages.yaml +++ b/.github/workflows/reusable_build_packages.yaml @@ -23,12 +23,21 @@ jobs: - name: Install deps run: | apt update - apt install -y --no-install-recommends git awscli - + apt install -y --no-install-recommends git awscli make build-essential autoconf libtool pkg-config + + - name: Install updated version ⛓️ + run: | + curl -L -o /tmp/cmake.tar.gz https://github.com/Kitware/CMake/releases/download/v3.22.5/cmake-3.22.5-linux-$(uname -m).tar.gz + gzip -d /tmp/cmake.tar.gz + tar -xpf /tmp/cmake.tar --directory=/tmp + cp -R /tmp/cmake-3.22.5-linux-$(uname -m)/* /usr + rm -rf /tmp/cmake-3.22.5-linux-$(uname -m) + - name: Checkout Plugins ⤵️ uses: actions/checkout@v3 with: fetch-depth: 0 + submodules: 'true' - name: Safe directory run: git config --global --add safe.directory $GITHUB_WORKSPACE