mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-24 10:24:35 +00:00
CANN: Add Ascend CANN build ci
This commit is contained in:
parent
76c6e7f105
commit
e32da6f163
30
.github/workflows/build.yml
vendored
30
.github/workflows/build.yml
vendored
@ -1387,3 +1387,33 @@ jobs:
|
||||
# popd
|
||||
# emcmake cmake . -DCMAKE_BUILD_TYPE=${{ matrix.build }}
|
||||
# make
|
||||
|
||||
openEuler-latest-cmake-cann:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
cann: ['python3.9-cann8.0.rc2.beta1']
|
||||
build: ['Release']
|
||||
|
||||
container:
|
||||
image: ascendai/cann:openeuler-${{ matrix.cann }}
|
||||
|
||||
steps:
|
||||
- name: Clone
|
||||
id: checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Dependencies
|
||||
id: depends
|
||||
run: |
|
||||
yum update -y
|
||||
yum install cmake gcc gcc-c++ make -y
|
||||
|
||||
- name: Build
|
||||
id: cmake-build
|
||||
run: |
|
||||
mkdir build
|
||||
cd build
|
||||
cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DWITH_CANN=on
|
||||
cmake --build . -j $(nproc)
|
||||
|
Loading…
Reference in New Issue
Block a user