Add step to install dependencies in test.yaml
Some checks failed
Gitea CTest Workflow / test (push) Failing after 6m10s
Some checks failed
Gitea CTest Workflow / test (push) Failing after 6m10s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user