From 57e12b73af46d60d4fe9aa3619cf44f00ac972bc Mon Sep 17 00:00:00 2001 From: Concedo <39025047+LostRuins@users.noreply.github.com> Date: Fri, 4 Apr 2025 17:10:43 +0800 Subject: [PATCH] try containerized ci (+1 squashed commits) Squashed commits: [fc53c200] try containerized ci (+1 squashed commits) Squashed commits: [4b48b0d5] try containerized ci --- .github/workflows/kcpp-build-release-linux-cuda12.yaml | 8 ++++++-- .github/workflows/kcpp-build-release-linux.yaml | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/kcpp-build-release-linux-cuda12.yaml b/.github/workflows/kcpp-build-release-linux-cuda12.yaml index 938eae06e..5365a1012 100644 --- a/.github/workflows/kcpp-build-release-linux-cuda12.yaml +++ b/.github/workflows/kcpp-build-release-linux-cuda12.yaml @@ -8,6 +8,9 @@ env: jobs: linux: runs-on: ubuntu-22.04 + container: + image: ubuntu:20.04 + options: --privileged steps: - name: Clone id: checkout @@ -18,8 +21,9 @@ jobs: - name: Dependencies id: depends run: | - sudo apt-get update - sudo apt-get install git curl bzip2 + apt-get update + apt-get install -y sudo + sudo apt-get -y install git curl bzip2 - name: Build id: make_build diff --git a/.github/workflows/kcpp-build-release-linux.yaml b/.github/workflows/kcpp-build-release-linux.yaml index a5fcb7b0d..106692169 100644 --- a/.github/workflows/kcpp-build-release-linux.yaml +++ b/.github/workflows/kcpp-build-release-linux.yaml @@ -8,6 +8,9 @@ env: jobs: linux: runs-on: ubuntu-22.04 + container: + image: ubuntu:20.04 + options: --privileged steps: - name: Clone id: checkout @@ -18,8 +21,9 @@ jobs: - name: Dependencies id: depends run: | - sudo apt-get update - sudo apt-get install git curl bzip2 + apt-get update + apt-get install -y sudo + sudo apt-get -y install git curl bzip2 - name: Build id: make_build