Skip to content

Commit

Permalink
Update llamacpp.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
xuedinge233 authored Nov 20, 2024
1 parent c313f31 commit 4ab1538
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/llamacpp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,39 @@ jobs:
cd build
cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_CANN=on
cmake --build . -j $(nproc)
ubuntu-unit-tests:
runs-on: ubuntu-latest

container:
image: ascendai/cann

steps:
- uses: actions/checkout@v4

- name: Install llamacpp
uses: nick-fields/retry@v3
with:
timeout_minutes: 30
max_attempts: 3
retry_on: error
command: |
apt-get update -y
apt-get install git cmake build-essential make -y
git clone https://github.com/ggerganov/llama.cpp.git
- name: Build
run: |
echo "-----------111111111-----------------"
echo $LIBRARY_PATH
echo "----------111111111111------------------"
cd llama.cpp
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DGGML_CANN=on
cmake --build . -j $(nproc)
Expand Down

0 comments on commit 4ab1538

Please sign in to comment.