File tree Expand file tree Collapse file tree 2 files changed +65
-1
lines changed
Expand file tree Collapse file tree 2 files changed +65
-1
lines changed Original file line number Diff line number Diff line change 1+ name : ubuntu Arm64 build workflows
2+
3+ on :
4+ push :
5+ branches :
6+ - ' master'
7+ paths :
8+ - ' XEngine_Source/**'
9+ - ' XEngine_Release/**'
10+ - ' .github/**'
11+
12+ permissions :
13+ contents : read
14+
15+ jobs :
16+ build :
17+ runs-on : ubuntu-24.04
18+ env :
19+ IMAGE_NAME : ubuntu:24.04
20+
21+ strategy :
22+ fail-fast : false
23+ matrix :
24+ arch : [linux/arm64]
25+
26+ steps :
27+ # 检出您的主仓库代码
28+ - name : Checkout main repository code
29+ uses : actions/checkout@v4
30+ with :
31+ ref : ' master'
32+
33+ - name : Set up QEMU
34+ uses : docker/setup-qemu-action@v3
35+
36+ - name : Build ${{ matrix.arch }}
37+ run : |
38+ docker run --platform ${{ matrix.arch }} --rm \
39+ -v ${{ github.workspace }}:/workspace \
40+ -w /workspace ${{ env.IMAGE_NAME }} /bin/sh -c '
41+ set -e
42+ apt update -y
43+
44+ git submodule init
45+ git submodule update
46+
47+ git clone https://github.com/libxengine/libxengine.git
48+ cd libxengine
49+ chmod 777 *
50+ sudo ./XEngine_LINEnv.sh -i 3
51+ cd ..
52+
53+ cd XEngine_Source
54+ make ARCH=Arm64 RELEASE=1
55+ make FLAGS=InstallAll
56+ make FLAGS=CleanAll
57+ cd ..
58+
59+ cd XEngine_Release
60+ ./XEngine_CenterApp -t
61+ ./XEngine_Http2App -t
62+ ./XEngine_HttpApp -t
63+ ./XEngine_SimpleApp -t
64+ ./XEngine_WebSocketApp -t '
Original file line number Diff line number Diff line change 1- name : ubuntu build workflows
1+ name : ubuntu x86-64 build workflows
22
33on :
44 push :
You can’t perform that action at this time.
0 commit comments