File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,29 @@ jobs:
4040 git submodule update
4141
4242 # 设置依赖库的环境变量
43- - name : Set up Dependency Environment Variables
43+ - name : Set up Dependency ubuntu24.04 Environment
44+ if : matrix.os == 'ubuntu-24.04'
4445 run : |
4546 cd libxengine
4647 chmod 777 *
4748 sudo ./XEngine_LINEnv.sh -i 3
4849 cd ..
50+ - name : Set up Dependency ubuntu22.04 Environment
51+ if : matrix.os == 'ubuntu-22.04'
52+ run : |
53+ cd libxengine
54+ chmod 777 *
55+ sudo ./XEngine_LINEnv.sh -i 0
56+
57+ https://github.com/libxengine/libxengine/releases/download/V9.2.0.1001RC/XEngine_UBuntu_22.04_x86-64.zip
58+
59+ latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
60+ wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_22.04_x86-64.zip
61+ unzip ./XEngine_UBuntu_22.04_x86-64.zip -d ./XEngine_UBuntu_22.04_x86-64
62+ cd XEngine_UBuntu_22.04_x86-64
63+
64+ sudo cp -rf ./XEngine_Include /usr/local/include
65+ sudo find ./XEngine_Linux -name "*.so" -exec cp {} /usr/local/lib \;
4966 # 编译
5067 - name : make
5168 run : |
You can’t perform that action at this time.
0 commit comments