File tree Expand file tree Collapse file tree 1 file changed +91
-0
lines changed
Expand file tree Collapse file tree 1 file changed +91
-0
lines changed Original file line number Diff line number Diff line change 1+ name : alma build workflows
2+
3+ on :
4+ push :
5+ branches :
6+ - ' master'
7+
8+ permissions :
9+ contents : read
10+
11+ jobs :
12+ build :
13+ runs-on : ${{ matrix.runner }}
14+ container :
15+ image : almalinux/almalinux:${{ matrix.version }}
16+ options : --platform ${{ matrix.platform }}
17+ strategy :
18+ matrix :
19+ include :
20+ - arch : amd64
21+ runner : ubuntu-24.04
22+ platform : linux/amd64
23+ artifact : x86-64
24+ version : 9
25+ - arch : amd64
26+ runner : ubuntu-24.04
27+ platform : linux/amd64
28+ artifact : x86-64
29+ version : 10
30+ - arch : arm64
31+ runner : ubuntu-24.04-arm
32+ platform : linux/arm64
33+ artifact : Arm64
34+ version : 9
35+ - arch : arm64
36+ runner : ubuntu-24.04-arm
37+ platform : linux/arm64
38+ artifact : Arm64
39+ version : 10
40+
41+ steps :
42+ - name : Checkout main repository code
43+ uses : actions/checkout@v4
44+
45+ - name : Checkout dependency repository (xengine)
46+ uses : actions/checkout@v4
47+ with :
48+ repository : libxengine/libxengine
49+ path : libxengine
50+
51+ - name : Set TERM variable
52+ run : echo "TERM=xterm" >> $GITHUB_ENV
53+
54+ - name : install system package
55+ run : |
56+ dnf update -y
57+ dnf install gcc g++ make git jq unzip wget -y
58+
59+ - name : install xengine library
60+ run : |
61+ latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
62+ wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}.zip
63+ unzip ./XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}.zip -d ./XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}
64+ cd XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}
65+
66+ chmod 777 *
67+ ./XEngine_LINEnv.sh -i 3
68+
69+ - name : make
70+ run : |
71+ cd XEngine_Module
72+ cd jsoncpp
73+ make
74+ cd ..
75+ cd tinyxml2
76+ make
77+ cd ..
78+ cd XEngine_InfoReport
79+ make
80+ cd ..
81+ cd XEngine_Token
82+ make
83+ cd ..
84+ cd XEngine_MSGNotify
85+ make
86+ cd ..
87+ cd XEngine_AIApi
88+ make
89+ cd ..
90+ cd XEngine_Verification
91+ make
You can’t perform that action at this time.
0 commit comments