mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/boypt/openssh-rpms.git
synced 2026-09-20 08:03:38 +08:00
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:
76
.github/workflows/create-amd64-release.yml
vendored
76
.github/workflows/create-amd64-release.yml
vendored
@@ -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
|
||||
|
||||
97
.github/workflows/create-arm64-release.yml
vendored
97
.github/workflows/create-arm64-release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user