Skip to content

Commit 3240a24

Browse files
committed
ci:added rocky linux 10 support
1 parent 1e958e0 commit 3240a24

File tree

2 files changed

+24
-12
lines changed

2 files changed

+24
-12
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.os_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+
os_version: 9
29+
- arch: amd64
30+
runner: ubuntu-24.04
31+
platform: linux/amd64
32+
artifact: x86-64
33+
os_version: 10
34+
- arch: arm64
35+
runner: ubuntu-24.04-arm
36+
platform: linux/arm64
37+
artifact: Arm64
38+
os_version: 9
2839
- arch: arm64
2940
runner: ubuntu-24.04-arm
3041
platform: linux/arm64
3142
artifact: Arm64
43+
os_version: 10
3244

3345
steps:
3446
- name: Checkout main repository code
@@ -69,9 +81,9 @@ jobs:
6981
- name: install xengine library
7082
run: |
7183
latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
72-
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_RockyLinux_9_${{ matrix.artifact }}.zip
73-
unzip ./XEngine_RockyLinux_9_${{ matrix.artifact }}.zip -d ./XEngine_RockyLinux_9_${{ matrix.artifact }}
74-
cd XEngine_RockyLinux_9_${{ matrix.artifact }}
84+
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_RockyLinux_${{ matrix.os_version }}_${{ matrix.artifact }}.zip
85+
unzip ./XEngine_RockyLinux_${{ matrix.os_version }}_${{ matrix.artifact }}.zip -d ./XEngine_RockyLinux_${{ matrix.os_version }}_${{ matrix.artifact }}
86+
cd XEngine_RockyLinux_${{ matrix.os_version }}_${{ matrix.artifact }}
7587
7688
chmod 777 *
7789
./XEngine_LINEnv.sh -i 3
@@ -100,6 +112,6 @@ jobs:
100112
- name: Upload folder as artifact with RockyLinux
101113
uses: actions/upload-artifact@v4
102114
with:
103-
name: XEngine_APIServiceApp-RockyLinux_9_${{ matrix.artifact }}
115+
name: XEngine_APIServiceApp-RockyLinux_${{ matrix.os_version }}_${{ matrix.artifact }}
104116
path: XEngine_Release/
105117
retention-days: 1

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 0
1818

1919
- name: Download ubuntu build
20-
uses: dawidd6/action-download-artifact@v6
20+
uses: dawidd6/action-download-artifact
2121
with:
2222
workflow: Ubuntu_build.yml
2323
workflow_conclusion: success
@@ -26,7 +26,7 @@ jobs:
2626
if_no_artifact_found: fail
2727
path: ./XRelease/
2828
- name: Download debian build
29-
uses: dawidd6/action-download-artifact@v6
29+
uses: dawidd6/action-download-artifact
3030
with:
3131
workflow: debian_build.yml
3232
workflow_conclusion: success
@@ -35,7 +35,7 @@ jobs:
3535
if_no_artifact_found: fail
3636
path: ./XRelease/
3737
- name: Download fedora build
38-
uses: dawidd6/action-download-artifact@v6
38+
uses: dawidd6/action-download-artifact
3939
with:
4040
workflow: fedora_build.yml
4141
workflow_conclusion: success
@@ -44,7 +44,7 @@ jobs:
4444
if_no_artifact_found: fail
4545
path: ./XRelease/
4646
- name: Download Rocky build
47-
uses: dawidd6/action-download-artifact@v6
47+
uses: dawidd6/action-download-artifact
4848
with:
4949
workflow: Rocky_build.yml
5050
workflow_conclusion: success
@@ -53,7 +53,7 @@ jobs:
5353
if_no_artifact_found: fail
5454
path: ./XRelease/
5555
- name: Download macbuild
56-
uses: dawidd6/action-download-artifact@v6
56+
uses: dawidd6/action-download-artifact
5757
with:
5858
workflow: macbuild.yml
5959
workflow_conclusion: success
@@ -62,7 +62,7 @@ jobs:
6262
if_no_artifact_found: fail
6363
path: ./XRelease/
6464
- name: Download msbuild
65-
uses: dawidd6/action-download-artifact@v6
65+
uses: dawidd6/action-download-artifact
6666
with:
6767
workflow: msbuild.yml
6868
workflow_conclusion: success
@@ -104,7 +104,7 @@ jobs:
104104
echo "$release_notes" > release_notes.txt
105105
106106
- name: Release
107-
uses: softprops/action-gh-release@v2
107+
uses: softprops/action-gh-release
108108
env:
109109
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
110110
with:

0 commit comments

Comments
 (0)