Skip to content

Commit 887c386

Browse files
committed
ci:add rocky linux 10 support
1 parent ea43a39 commit 887c386

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

.github/workflows/Rocky_build.yml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
build:
1717
runs-on: ${{ matrix.runner }}
1818
container:
19-
image: rockylinux/rockylinux:9.5
19+
image: rockylinux/rockylinux:${{ matrix.version }}
2020
options: --platform ${{ matrix.platform }}
2121
strategy:
2222
matrix:
@@ -25,10 +25,22 @@ jobs:
2525
runner: ubuntu-24.04
2626
platform: linux/amd64
2727
artifact: x86-64
28+
version: 9
29+
- arch: amd64
30+
runner: ubuntu-24.04
31+
platform: linux/amd64
32+
artifact: x86-64
33+
version: 10
34+
- arch: arm64
35+
runner: ubuntu-24.04-arm
36+
platform: linux/arm64
37+
artifact: Arm64
38+
version: 9
2839
- arch: arm64
2940
runner: ubuntu-24.04-arm
3041
platform: linux/arm64
3142
artifact: Arm64
43+
version: 10
3244

3345
steps:
3446
- name: Checkout main repository code
@@ -58,9 +70,9 @@ jobs:
5870
- name: install xengine library
5971
run: |
6072
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_RockyLinux_9_${{ matrix.artifact }}.zip
62-
unzip ./XEngine_RockyLinux_9_${{ matrix.artifact }}.zip -d ./XEngine_RockyLinux_9_${{ matrix.artifact }}
63-
cd XEngine_RockyLinux_9_${{ matrix.artifact }}
73+
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}.zip
74+
unzip ./XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}.zip -d ./XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}
75+
cd XEngine_RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}
6476
6577
chmod 777 *
6678
./XEngine_LINEnv.sh -i 3
@@ -83,6 +95,6 @@ jobs:
8395
- name: Upload folder as artifact with RockyLinux
8496
uses: actions/upload-artifact@v4
8597
with:
86-
name: XEngine_ProxyServiceApp-RockyLinux_9_${{ matrix.artifact }}
98+
name: XEngine_ProxyServiceApp-RockyLinux_${{ matrix.version }}_${{ matrix.artifact }}
8799
path: XEngine_Release/
88100
retention-days: 1

.github/workflows/msbuild.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ jobs:
9898
cp -r XEngine_Source/VSCopy_x64.bat XEngine_Release/
9999
cd XEngine_Release
100100
./VSCopy_x64.bat
101+
./XEngine_ServiceApp.exe -t
101102
shell: pwsh
102103
- name: Conditional Step for ARM64 Release
103104
if: matrix.configuration == 'Release' && matrix.platform == 'ARM64'

0 commit comments

Comments
 (0)