Skip to content

Commit dd16cd0

Browse files
committed
ci: add Ascend CANN build
Signed-off-by: Jiahao Su <[email protected]>
1 parent 76c6e7f commit dd16cd0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1387,3 +1387,27 @@ jobs:
13871387
# popd
13881388
# emcmake cmake . -DCMAKE_BUILD_TYPE=${{ matrix.build }}
13891389
# make
1390+
1391+
ascendai-cann-latest-arrch64:
1392+
runs-on: ubuntu-latest
1393+
container:
1394+
image: ascendai/cann
1395+
1396+
steps:
1397+
- name: Clone
1398+
id: checkout
1399+
uses: actions/checkout@v4
1400+
1401+
- name: Dependencies
1402+
id: depends
1403+
run: |
1404+
apt-get update
1405+
apt-get install cmake make build-essential -y
1406+
1407+
- name: Build
1408+
id: cmake-build
1409+
run: |
1410+
mkdir build
1411+
cd build
1412+
cmake .. -DCMAKE_BUILD_TYPE=release
1413+
cmake --build . --config Release -j $(nproc)

0 commit comments

Comments
 (0)