Add OpenEuler series system support.

- Modify create-amd64-release.yml, add OpenEuler into release packages.
- Modify create-arm64-release.yml, add OpenEuler into release packages.
This commit is contained in:
ChowRex
2025-08-14 16:33:05 +08:00
parent ecf2cc243f
commit 30dca53e48
2 changed files with 173 additions and 0 deletions

View File

@@ -178,6 +178,64 @@ jobs:
name: el5-amd64
path: ${{ github.workspace }}/output
build_oe2003:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout code
uses: actions/checkout@v4
- name: "Compile OpenEuler 20.03 LTS (amd64)"
run: |
docker run --rm -v ${{ github.workspace }}/output:/data/el7/RPMS/x86_64 ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:openeuler20.03
- uses: actions/upload-artifact@v4
with:
name: oe2003-amd64
path: ${{ github.workspace }}/output
build_oe2203:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout code
uses: actions/checkout@v4
- name: "Compile OpenEuler 22.03 LTS (amd64)"
run: |
docker run --rm -v ${{ github.workspace }}/output:/data/el7/RPMS/x86_64 ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:openeuler22.03
- uses: actions/upload-artifact@v4
with:
name: oe2203-amd64
path: ${{ github.workspace }}/output
build_oe2403:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout code
uses: actions/checkout@v4
- name: "Compile OpenEuler 24.03 LTS (amd64)"
run: |
docker run --rm -v ${{ github.workspace }}/output:/data/el7/RPMS/x86_64 ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:openeuler24.03
- uses: actions/upload-artifact@v4
with:
name: oe2403-amd64
path: ${{ github.workspace }}/output
create_release:
needs:
- build_al2023
@@ -188,6 +246,9 @@ jobs:
- build_el7
- build_el6
- build_el5
- build_oe2003
- build_oe2203
- build_oe2403
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -232,6 +293,21 @@ jobs:
name: el5-amd64
path: ./output
- uses: actions/download-artifact@v4
with:
name: oe2003-amd64
path: ./output
- uses: actions/download-artifact@v4
with:
name: oe2203-amd64
path: ./output
- uses: actions/download-artifact@v4
with:
name: oe2403-amd64
path: ./output
- name: Get tag message
run: |
echo -e "> Automated release created by GitHub Actions.\n" > ${{ github.workspace }}/RELEASE.md

View File

@@ -143,6 +143,85 @@ jobs:
name: el7-arm64
path: ${{ github.workspace }}/output
build_oe2003:
# The type of runner that the job will run on
# See: https://docs.github.com/zh/actions/using-jobs/choosing-the-runner-for-a-job
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: "Compile OpenEuler 20.03 LTS (arm64)"
run: |
docker run --rm --platform linux/arm64 -v ${{ github.workspace }}/output:/data/el7/RPMS/aarch64 ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:openeuler20.03
- uses: actions/upload-artifact@v4
with:
name: oe2003-arm64
path: ${{ github.workspace }}/output
build_oe2203:
# The type of runner that the job will run on
# See: https://docs.github.com/zh/actions/using-jobs/choosing-the-runner-for-a-job
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: "Compile OpenEuler 22.03 LTS (arm64)"
run: |
docker run --rm --platform linux/arm64 -v ${{ github.workspace }}/output:/data/el7/RPMS/aarch64 ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:openeuler22.03
- uses: actions/upload-artifact@v4
with:
name: oe2203-arm64
path: ${{ github.workspace }}/output
build_oe2403:
# The type of runner that the job will run on
# See: https://docs.github.com/zh/actions/using-jobs/choosing-the-runner-for-a-job
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: "Compile OpenEuler 24.03 LTS (arm64)"
run: |
docker run --rm --platform linux/arm64 -v ${{ github.workspace }}/output:/data/el7/RPMS/aarch64 ${{ secrets.DOCKER_USERNAME }}/${{ github.event.repository.name }}:openeuler24.03
- uses: actions/upload-artifact@v4
with:
name: oe2403-arm64
path: ${{ github.workspace }}/output
create_release:
needs:
- build_al2023
@@ -150,6 +229,9 @@ jobs:
- build_el9
- build_el8
- build_el7
- build_oe2003
- build_oe2203
- build_oe2403
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
@@ -179,6 +261,21 @@ jobs:
name: el7-arm64
path: ./output
- uses: actions/download-artifact@v4
with:
name: oe2003-arm64
path: ./output
- uses: actions/download-artifact@v4
with:
name: oe2203-arm64
path: ./output
- uses: actions/download-artifact@v4
with:
name: oe2403-arm64
path: ./output
- name: Get tag message
run: |
echo -e "> Automated release created by GitHub Actions.\n" > ${{ github.workspace }}/RELEASE.md