File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed
Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ name : macos build workflows
2+
3+ on :
4+ push :
5+ branches : [ "develop" ]
6+ pull_request :
7+ branches : [ "develop" ]
8+
9+ permissions :
10+ contents : read
11+
12+ jobs :
13+ build :
14+ runs-on : macos-13
15+
16+ steps :
17+ # 检出您的主仓库代码
18+ - name : Checkout main repository code
19+ uses : actions/checkout@v4
20+
21+ # 检出依赖的xengine仓库到指定的xengine目录
22+ - name : Checkout dependency repository (xengine)
23+ uses : actions/checkout@v4
24+ with :
25+ repository : libxengine/xengine
26+ path : libxengine
27+
28+ - name : sub module checkout (opensource)
29+ run : |
30+ git submodule init
31+ git submodule update
32+
33+ - name : brew install
34+ run : |
35+ xcode-select --install
36+ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
37+
38+
39+ # 设置依赖库的环境变量
40+ - name : Set up Dependency Environment Variables
41+ run : |
42+ cd libxengine
43+ chmod 777 *
44+ ./XEngine_LINEnv.sh -i 3
45+ cd ..
46+ # 编译
47+ - name : make
48+ run : |
49+ cd XEngine_Source
50+ make
51+ make FLAGS=InstallAll
52+ make FLAGS=CleanAll
You can’t perform that action at this time.
0 commit comments