File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -1387,3 +1387,33 @@ jobs:
13871387# popd
13881388# emcmake cmake . -DCMAKE_BUILD_TYPE=${{ matrix.build }}
13891389# make
1390+
1391+ openEuler-latest-cmake-cann :
1392+ runs-on : ubuntu-latest
1393+
1394+ strategy :
1395+ matrix :
1396+ cann : ['python3.9-cann8.0.rc2.beta1']
1397+ build : ['Release']
1398+
1399+ container :
1400+ image : ascendai/cann:openeuler-${{ matrix.cann }}
1401+
1402+ steps :
1403+ - name : Clone
1404+ id : checkout
1405+ uses : actions/checkout@v4
1406+
1407+ - name : Dependencies
1408+ id : depends
1409+ run : |
1410+ yum update -y
1411+ yum install cmake gcc gcc-c++ make -y
1412+
1413+ - name : Build
1414+ id : cmake-build
1415+ run : |
1416+ mkdir build
1417+ cd build
1418+ cmake .. -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DWITH_CANN=on
1419+ cmake --build . -j $(nproc)
You can’t perform that action at this time.
0 commit comments