更新 .gitea/workflows/build.yaml
This commit is contained in:
parent
4db9b2b2f9
commit
1dd9dc0d84
@ -6,17 +6,12 @@ jobs:
|
|||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: "Set Env"
|
- name: 设置环境
|
||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install bc gcc g++
|
sudo apt install gcc g++ bc git
|
||||||
|
mkdir build
|
||||||
- name: "Pull Project"
|
- name: 拉取项目
|
||||||
run: |
|
run: |
|
||||||
mkdir project
|
cd build
|
||||||
cd project
|
git clone http://192.168.6.4:3000/expvintl/DDNet_Server
|
||||||
git clone http://192.168.6.4:3000/expvintl/DDNet_Server
|
|
||||||
cd DDNet_Server
|
|
||||||
make -j8
|
|
||||||
|
|
||||||
- run: echo "任务状态: ${{ job.status }}."
|
|
Loading…
Reference in New Issue
Block a user