Skip to content

Commit ae18586

Browse files
xuedinge233sjh
authored andcommitted
ci: add Ascend CANN build
1 parent 76c6e7f commit ae18586

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/build.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,3 +1387,21 @@ jobs:
13871387
# popd
13881388
# emcmake cmake . -DCMAKE_BUILD_TYPE=${{ matrix.build }}
13891389
# make
1390+
1391+
ascendai-cann-latest-arrch64:
1392+
runs-on: ascendai/cann
1393+
1394+
steps:
1395+
- name: Dependencies
1396+
run: |
1397+
npu-smi info
1398+
apt-get update
1399+
apt-get install cmake make build-essential -y
1400+
source /root/.bashrc
1401+
1402+
- name: Build
1403+
run: |
1404+
mkdir build
1405+
cd build
1406+
cmake .. -DCMAKE_BUILD_TYPE=release
1407+
cmake --build . --config Release -j $(nproc)

0 commit comments

Comments
 (0)