From 4fc4baf921cd8afc1515876284befe3fbbf38d4d Mon Sep 17 00:00:00 2001 From: expvintl Date: Sun, 5 May 2024 01:49:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/build.yam?= =?UTF-8?q?l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/build.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index ad41a0a..a26d9d1 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -9,11 +9,12 @@ jobs: - name: 设置环境 run: | sudo apt update - sudo apt -y install gcc g++ bc git - mkdir build + sudo apt -y install gcc g++ bc git cmake - name: 拉取项目 run: | - cd build git clone http://192.168.6.4:3000/expvintl/DDNet_Server cd DDNet_Server - make -j8 \ No newline at end of file + mkdir build + cd build + cmake .. + make -j8