Skip to content

Commit 7feb0a1

Browse files
authored
ci : remove the build of openeuler-cann in release (#17724)
* Remove the build of openeuler-cann in release * Remove the relevant release files
1 parent 0a8026e commit 7feb0a1

File tree

1 file changed

+0
-59
lines changed

1 file changed

+0
-59
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -728,58 +728,6 @@ jobs:
728728
path: llama-${{ steps.tag.outputs.name }}-xcframework.tar.gz
729729
name: llama-${{ steps.tag.outputs.name }}-xcframework.tar.gz
730730

731-
openEuler-cann:
732-
strategy:
733-
matrix:
734-
arch: [x86, aarch64]
735-
chip_type: ['910b', '310p']
736-
build: ['Release']
737-
runs-on: ${{ matrix.arch == 'aarch64' && 'ubuntu-24.04-arm' || 'ubuntu-24.04' }}
738-
container: ascendai/cann:${{ matrix.chip_type == '910b' && '8.3.rc1.alpha001-910b-openeuler22.03-py3.11' || '8.2.rc1-310p-openeuler22.03-py3.11' }}
739-
steps:
740-
- name: Checkout
741-
uses: actions/checkout@v4
742-
with:
743-
fetch-depth: 0
744-
745-
- name: Dependencies
746-
run: |
747-
yum update -y
748-
yum install -y git gcc gcc-c++ make cmake libcurl-devel
749-
git config --global --add safe.directory "$GITHUB_WORKSPACE"
750-
751-
- name: Build
752-
run: |
753-
export LD_LIBRARY_PATH=${ASCEND_TOOLKIT_HOME}/lib64:${ASCEND_TOOLKIT_HOME}/$(uname -m)-linux/devlib/:${LD_LIBRARY_PATH}
754-
755-
cmake -S . -B build \
756-
-DCMAKE_BUILD_TYPE=${{ matrix.build }} \
757-
-DGGML_CANN=on \
758-
-DSOC_TYPE=ascend${{ matrix.chip_type }}
759-
cmake --build build -j $(nproc)
760-
761-
- name: Determine tag name
762-
id: tag
763-
uses: ./.github/actions/get-tag-name
764-
765-
- name: Pack artifacts
766-
run: |
767-
cp LICENSE ./build/bin/
768-
zip -y -r llama-${{ steps.tag.outputs.name }}-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}.zip ./build/bin/*
769-
tar -czvf llama-${{ steps.tag.outputs.name }}-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}.tar.gz -C ./build/bin .
770-
771-
- name: Upload artifacts (zip)
772-
uses: actions/upload-artifact@v4
773-
with:
774-
path: llama-${{ steps.tag.outputs.name }}-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}.zip
775-
name: llama-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}.zip
776-
777-
- name: Upload artifacts (tar)
778-
uses: actions/upload-artifact@v4
779-
with:
780-
path: llama-${{ steps.tag.outputs.name }}-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}.tar.gz
781-
name: llama-bin-${{ matrix.chip_type }}-openEuler-${{ matrix.arch }}.tar.gz
782-
783731
release:
784732
if: ${{ ( github.event_name == 'push' && github.ref == 'refs/heads/master' ) || github.event.inputs.create_release == 'true' }}
785733

@@ -801,7 +749,6 @@ jobs:
801749
- macOS-arm64
802750
- macOS-x64
803751
- ios-xcode-build
804-
- openEuler-cann
805752

806753
steps:
807754
- name: Clone
@@ -893,12 +840,6 @@ jobs:
893840
- [Windows x64 (SYCL)](https://github.com/ggml-org/llama.cpp/releases/download/${{ steps.tag.outputs.name }}/llama-${{ steps.tag.outputs.name }}-bin-win-sycl-x64.zip)
894841
- [Windows x64 (HIP)](https://github.com/ggml-org/llama.cpp/releases/download/${{ steps.tag.outputs.name }}/llama-${{ steps.tag.outputs.name }}-bin-win-hip-radeon-x64.zip)
895842
896-
**openEuler:**
897-
- [openEuler x86 (310p)](https://github.com/ggml-org/llama.cpp/releases/download/${{ steps.tag.outputs.name }}/llama-${{ steps.tag.outputs.name }}-bin-310p-openEuler-x86.tar.gz)
898-
- [openEuler x86 (910b)](https://github.com/ggml-org/llama.cpp/releases/download/${{ steps.tag.outputs.name }}/llama-${{ steps.tag.outputs.name }}-bin-910b-openEuler-x86.tar.gz)
899-
- [openEuler aarch64 (310p)](https://github.com/ggml-org/llama.cpp/releases/download/${{ steps.tag.outputs.name }}/llama-${{ steps.tag.outputs.name }}-bin-310p-openEuler-aarch64.tar.gz)
900-
- [openEuler aarch64 (910b)](https://github.com/ggml-org/llama.cpp/releases/download/${{ steps.tag.outputs.name }}/llama-${{ steps.tag.outputs.name }}-bin-910b-openEuler-aarch64.tar.gz)
901-
902843
- name: Upload release
903844
id: upload_release
904845
uses: actions/github-script@v3

0 commit comments

Comments
 (0)