From 0c85d9ecd2984bbb0d20d6ef4061b73ec95f834c Mon Sep 17 00:00:00 2001 From: Jason Yang <18200748882@163.com> Date: Fri, 27 Feb 2026 12:45:56 +0800 Subject: [PATCH] Change container to Debian 12 and update dependencies Updated the build workflow to use a Debian 12 container and added cmake to the dependencies. --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2e3468f4..d08358a4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -43,6 +43,8 @@ jobs: name: Build and Test ${{ matrix.channel }} runs-on: ubuntu-24.04 timeout-minutes: 120 + container: + image: debian:12 # Make warnings errors, this is to prevent warnings slipping through. # This is done globally to prevent rebuilds when the RUSTFLAGS env variable changes. env: @@ -57,7 +59,7 @@ jobs: steps: # Install dependencies - name: "Install dependencies Ubuntu" - run: sudo apt-get update && sudo apt-get install -y --no-install-recommends openssl build-essential libmariadb-dev-compat libpq-dev libssl-dev pkg-config + run: apt-get update && apt-get install -y --no-install-recommends curl git ca-certificates openssl build-essential libmariadb-dev-compat libpq-dev libssl-dev pkg-config cmake # End Install dependencies # Checkout the repo