Skip to content

Commit ecde95b

Browse files
committed
update:ci
1 parent 6fbea19 commit ecde95b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/rockybuild.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
# 检出您的主仓库代码
2323
- name: Checkout main repository code
2424
uses: actions/checkout@v4
25+
with:
26+
submodules: true
2527

2628
# 检出依赖的xengine仓库到指定的xengine目录
2729
- name: Checkout dependency repository (xengine)
@@ -32,9 +34,8 @@ jobs:
3234

3335
- name: sub module checkout (opensource)
3436
run: |
37+
dnf update -y
3538
dnf install git gcc g++ make git jq unzip -y
36-
git submodule init
37-
git submodule update
3839
# 设置依赖库的环境变量
3940
- name: Set up Dependency rocky linux Environment
4041
run: |

.github/workflows/ubuntu_Arm64_build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
apt update -y
4343
apt install git make g++ wget -y
4444
45+
git config --global --add safe.directory /workspace
46+
4547
git submodule init
4648
git submodule update
4749

0 commit comments

Comments
 (0)