Compare commits

...

2 Commits

Author SHA1 Message Date
jiahao su
9964d4914e
Merge e32da6f163 into 32d6ee6385 2024-12-24 09:11:32 +08:00
jiahao su
e32da6f163 CANN: Add Ascend CANN build ci 2024-11-19 15:06:53 +08:00

View File

@ -1459,3 +1459,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)