Skip to content

Commit 1b3aea7

Browse files
authored
Merge pull request #46 from libxengine/develop
V3.16 Merge
2 parents a6a05ba + 2726e5a commit 1b3aea7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1662
-857
lines changed

.github/workflows/RockyArm64_build.yml

Lines changed: 0 additions & 78 deletions
This file was deleted.
Lines changed: 27 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: rocky x86_64 build workflows
1+
name: rocky build workflows
22

33
on:
44
push:
@@ -14,18 +14,28 @@ permissions:
1414

1515
jobs:
1616
build:
17-
runs-on: ubuntu-latest
17+
runs-on: ${{ matrix.runner }}
1818
container:
1919
image: rockylinux/rockylinux:9.5
20+
options: --platform ${{ matrix.platform }}
21+
strategy:
22+
matrix:
23+
include:
24+
- arch: amd64
25+
runner: ubuntu-24.04
26+
platform: linux/amd64
27+
artifact: x86-64
28+
- arch: arm64
29+
runner: ubuntu-24.04-arm
30+
platform: linux/arm64
31+
artifact: Arm64
2032

2133
steps:
22-
# 检出您的主仓库代码
2334
- name: Checkout main repository code
2435
uses: actions/checkout@v4
2536
with:
2637
ref: 'develop'
2738

28-
# 检出依赖的xengine仓库到指定的xengine目录
2939
- name: Checkout dependency repository (xengine)
3040
uses: actions/checkout@v4
3141
with:
@@ -37,27 +47,24 @@ jobs:
3747
with:
3848
repository: libxengine/XEngine_OPenSource
3949
path: XEngine_Source/XEngine_Depend
40-
50+
51+
- name: Set TERM variable
52+
run: echo "TERM=xterm" >> $GITHUB_ENV
53+
4154
- name: install system package
4255
run: |
4356
dnf update -y
44-
dnf install gcc g++ make git jq unzip -y
45-
# 设置依赖库的环境变量
46-
- name: Set up Dependency rocky linux Environment
47-
run: |
48-
cd libxengine
49-
chmod 777 *
50-
./XEngine_LINEnv.sh -i 0
57+
dnf install gcc g++ make git jq unzip wget -y
58+
5159
- name: install xengine library
52-
run: |
60+
run: |
5361
latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
54-
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_RockyLinux_9_x86-64.zip
55-
unzip ./XEngine_RockyLinux_9_x86-64.zip -d ./XEngine_RockyLinux_9_x86-64
56-
cd XEngine_RockyLinux_9_x86-64
62+
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_RockyLinux_9_${{ matrix.artifact }}.zip
63+
unzip ./XEngine_RockyLinux_9_${{ matrix.artifact }}.zip -d ./XEngine_RockyLinux_9_${{ matrix.artifact }}
64+
cd XEngine_RockyLinux_9_${{ matrix.artifact }}
5765
58-
cp -rf ./XEngine_Include /usr/local/include
59-
find ./XEngine_Linux -name "*.so" -exec cp {} /usr/lib64 \;
60-
ldconfig
66+
chmod 777 *
67+
./XEngine_LINEnv.sh -i 3
6168
6269
- name: make
6370
run: |
@@ -78,6 +85,6 @@ jobs:
7885
- name: Upload folder as artifact with RockyLinux
7986
uses: actions/upload-artifact@v4
8087
with:
81-
name: XEngine_MQServiceApp-RockyLinux_9_x86_64
88+
name: XEngine_MQServiceApp-RockyLinux_9_${{ matrix.artifact }}
8289
path: XEngine_Release/
8390
retention-days: 1

.github/workflows/UbuntuArm64_build.yml

Lines changed: 0 additions & 74 deletions
This file was deleted.

.github/workflows/UbuntuX86_64_build.yml

Lines changed: 0 additions & 90 deletions
This file was deleted.

0 commit comments

Comments
 (0)