File tree Expand file tree Collapse file tree 2 files changed +30
-74
lines changed
Expand file tree Collapse file tree 2 files changed +30
-74
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2121 include :
2222 - os : ubuntu-22.04
2323 - os : ubuntu-24.04
24+ - os : ubuntu-24.04-arm
2425 runs-on : ${{ matrix.os }}
2526
2627 steps :
4950 cd libxengine
5051 chmod 777 *
5152 sudo ./XEngine_LINEnv.sh -i 3
53+ - name : Set up Dependency ubuntu24.04 arm64 Environment
54+ if : matrix.os == 'ubuntu-24.04-arm'
55+ run : |
56+ cd libxengine
57+ chmod 777 *
58+ sudo ./XEngine_LINEnv.sh -i 0
59+
60+ latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
61+ wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_24.04_Arm64.zip
62+ unzip ./XEngine_UBuntu_24.04_Arm64.zip -d ./XEngine_UBuntu_24.04_Arm64
63+ cd XEngine_UBuntu_24.04_Arm64
64+
65+ sudo cp -rf ./XEngine_Include /usr/local/include
66+ sudo find ./XEngine_Linux -name "*.so" -exec cp {} /usr/local/lib \;
67+ sudo ldconfig
5268 - name : Set up Dependency ubuntu22.04 Environment
5369 if : matrix.os == 'ubuntu-22.04'
5470 run : |
6581 sudo find ./XEngine_Linux -name "*.so" -exec cp {} /usr/local/lib \;
6682 sudo ldconfig
6783 # 编译
68- - name : make
84+ - name : make x86
85+ if : matrix.os == 'ubuntu-22.04' || matrix.os == 'ubuntu-24.04'
6986 run : |
7087 cd XEngine_Source
7188 make
7693 make FLAGS=InstallAll
7794 make FLAGS=CleanAll
7895 cd ..
96+ - name : make arm
97+ if : matrix.os == 'ubuntu-24.04-arm'
98+ run : |
99+ cd XEngine_Source
100+ make
101+ make FLAGS=InstallAll
102+ make FLAGS=CleanAll
103+
104+ make ARCH=arm64 RELEASE=1
105+ make FLAGS=InstallAll
106+ make FLAGS=CleanAll
107+ cd ..
79108 - name : test
80109 run : |
81110 cd XEngine_Release
You can’t perform that action at this time.
0 commit comments