Skip to content

Commit ba691be

Browse files
committed
ci:fix sub module problem
1 parent 8d2e450 commit ba691be

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

.github/workflows/rockybuild.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ jobs:
3030
repository: libxengine/libxengine
3131
path: libxengine
3232

33-
- name: sub module checkout (opensource)
34-
run: |
35-
dnf install git jq unzip -y
36-
ls -al
37-
git submodule init
38-
git submodule update
3933
# 设置依赖库的环境变量
4034
- name: Set up Dependency rocky linux Environment
4135
run: |
@@ -51,7 +45,11 @@ jobs:
5145
cp -rf ./XEngine_Include /usr/local/include
5246
find ./XEngine_Linux -name "*.so" -exec cp {} /usr/local/lib \;
5347
ldconfig
54-
48+
49+
- name: sub module checkout (opensource)
50+
run: |
51+
dnf install jq unzip -y
52+
git clone https://gitee.com/xengine/XEngine_OPenSource.git XEngine_Source/XEngine_Depend
5553
#编译
5654
- name: make
5755
run: |

.github/workflows/ubuntubuild.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: ubuntu build workflows
33
on:
44
push:
55
branches:
6-
- 'master'
6+
- 'master1'
77
paths:
88
- 'XEngine_Source/**'
99
- 'XEngine_Release/**'
@@ -39,7 +39,6 @@ jobs:
3939

4040
- name: sub module checkout (opensource)
4141
run: |
42-
ls -al
4342
git submodule init
4443
git submodule update
4544

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ macos执行:./XEngine_LINEnv.sh -i 3
3737
由于依赖的子模块,在你checkout仓库后,在仓库目录下执行下面的命令拉取子模块
3838
git submodule init
3939
git submodule update
40+
如果github访问失败,你也可以clone该项目,在主目录下使用命令:git clone https://gitee.com/xengine/XEngine_OPenSource.git XEngine_Source/XEngine_Depend
4041

4142
#### Windows
4243
使用VS打开并且编译,支持WINDOWS 7SP1以上系统

0 commit comments

Comments
 (0)