From cdb5602c47c19957b09e98e292357e2adb7719ca Mon Sep 17 00:00:00 2001 From: Jeffrey Hsu Date: Wed, 4 Feb 2026 23:58:46 +0800 Subject: [PATCH] Add step to install dependencies in test.yaml --- .gitea/workflows/test.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitea/workflows/test.yaml b/.gitea/workflows/test.yaml index 8ebc07c..0107815 100644 --- a/.gitea/workflows/test.yaml +++ b/.gitea/workflows/test.yaml @@ -14,6 +14,11 @@ jobs: run: | git clone https://cantyonion.site/git/cantyonion/leetcode.git . + - name: Install Dependencies + run: | + sudo apt-get update + sudo apt-get install -y build-essential cmake + - name: Configure CMake # -B build 创建构建目录,-S . 指定源代码在当前目录 run: cmake -B build -S . -DCMAKE_BUILD_TYPE=Release