Skip to content

Commit

Permalink
ci: add Ascend CANN build
Browse files Browse the repository at this point in the history
  • Loading branch information
xuedinge233 authored and sjh committed Nov 8, 2024
1 parent 76c6e7f commit 5ecac00
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1387,3 +1387,27 @@ jobs:
# popd
# emcmake cmake . -DCMAKE_BUILD_TYPE=${{ matrix.build }}
# make

ascendai-cann-latest-arrch64:
runs-on: ubuntu-latest
container:
image: ascendai/cann

steps:
- name: Clone
id: checkout
uses: actions/checkout@v4

- name: Dependencies
id: depends
run: |
apt-get update
apt-get install cmake make build-essential -y
- name: Build
id: cmake-build
run: |
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=release
cmake --build . --config Release -j $(nproc)

0 comments on commit 5ecac00

Please sign in to comment.