Skip to content

Commit 4207f65

Browse files
committed
ci:add debian 13 support
1 parent 3d5e02f commit 4207f65

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/debian_build.yml

Lines changed: 13 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: debian:bookworm
19+
image: debian:${{ matrix.name }}
2020
options: --platform ${{ matrix.platform }}
2121
strategy:
2222
matrix:
@@ -25,6 +25,14 @@ jobs:
2525
runner: ubuntu-24.04
2626
platform: linux/amd64
2727
artifact: x86-64
28+
name: bookworm
29+
version: 12
30+
- arch: amd64
31+
runner: ubuntu-24.04
32+
platform: linux/amd64
33+
artifact: x86-64
34+
name: trixie
35+
version: 13
2836

2937
steps:
3038
- name: Checkout main repository code
@@ -66,9 +74,9 @@ jobs:
6674
- name: install xengine library
6775
run: |
6876
latest_tag=$(curl -s https://api.github.com/repos/libxengine/libxengine/releases/latest | jq -r .tag_name)
69-
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_Debian_12_${{ matrix.artifact }}.zip
70-
unzip ./XEngine_Debian_12_${{ matrix.artifact }}.zip -d ./XEngine_Debian_12_${{ matrix.artifact }}
71-
cd XEngine_Debian_12_${{ matrix.artifact }}
77+
wget https://github.com/libxengine/libxengine/releases/download/$latest_tag/XEngine_Debian_${{ matrix.version }}_${{ matrix.artifact }}.zip
78+
unzip ./XEngine_Debian_${{ matrix.version }}_${{ matrix.artifact }}.zip -d ./XEngine_Debian_${{ matrix.version }}_${{ matrix.artifact }}
79+
cd XEngine_Debian_${{ matrix.version }}_${{ matrix.artifact }}
7280
7381
chmod 777 *
7482
./XEngine_LINEnv.sh -i 3
@@ -93,6 +101,6 @@ jobs:
93101
- name: Upload folder as artifact
94102
uses: actions/upload-artifact@v4
95103
with:
96-
name: XEngine_APIServiceApp-Debian_12_x86-64
104+
name: XEngine_APIServiceApp-Debian_${{ matrix.version }}_x86-64
97105
path: XEngine_Release/
98106
retention-days: 1

0 commit comments

Comments
 (0)