From: jiahao su Date: Tue, 18 Nov 2025 17:10:23 +0000 (+0800) Subject: ci : change the openEuler-310p image to fix release (#17361) X-Git-Tag: upstream/0.0.7446~350 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=561a3e2788b6310f5ac6691d1b2a91546887191e;p=pkg%2Fggml%2Fsources%2Fllama.cpp ci : change the openEuler-310p image to fix release (#17361) --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21cfe62a..5215cc35 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1390,14 +1390,10 @@ jobs: strategy: matrix: arch: [x86, aarch64] - cann: - - '8.3.rc1.alpha001-910b-openeuler22.03-py3.11' - chip_type: - - '910b' - build: - - 'Release' + chip_type: ['910b', '310p'] + build: ['Release'] runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }} - container: ascendai/cann:${{ matrix.cann }} + container: ascendai/cann:${{ matrix.chip_type == '910b' && '8.3.rc1.alpha001-910b-openeuler22.03-py3.11' || '8.2.rc1-310p-openeuler22.03-py3.11' }} steps: - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d65127a..0d5739c2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -698,10 +698,9 @@ jobs: matrix: arch: [x86, aarch64] chip_type: ['910b', '310p'] - build: - - 'Release' + build: ['Release'] runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }} - container: ascendai/cann:${{ matrix.chip_type == '910b' && '8.3.rc1.alpha001-910b-openeuler22.03-py3.11' || '8.3.rc1.alpha001-310p-openeuler22.03-py3.11' }} + container: ascendai/cann:${{ matrix.chip_type == '910b' && '8.3.rc1.alpha001-910b-openeuler22.03-py3.11' || '8.2.rc1-310p-openeuler22.03-py3.11' }} steps: - name: Checkout uses: actions/checkout@v4 @@ -737,7 +736,7 @@ jobs: uses: actions/upload-artifact@v4 with: path: llama-${{ steps.tag.outputs.name }}-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}.zip - name: llama-${{ steps.tag.outputs.name }}-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }} + name: llama-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}.zip release: if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}