Skip to content

Commit 0647eb6

Browse files
committed
ci:fix arm64
1 parent d9f5aaf commit 0647eb6

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ubuntu_Arm64_build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,13 @@ jobs:
4747
git submodule init
4848
git submodule update
4949
50-
git clone https://github.com/libxengine/libxengine.git
51-
cd libxengine
52-
chmod 777 *
53-
./XEngine_LINEnv.sh -i 3
50+
latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
51+
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_UBuntu_24.04_Arm64.zip
52+
unzip ./XEngine_UBuntu_24.04_Arm64.zip -d ./XEngine_UBuntu_24.04_Arm64
53+
cd XEngine_UBuntu_24.04_Arm64
54+
cp -rf ./XEngine_Include /usr/local/include
55+
find ./XEngine_Linux -name "*.so" -exec cp {} /usr/local/lib \;
56+
ldconfig
5457
cd ..
5558
5659
cd XEngine_Source

0 commit comments

Comments
 (0)