File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -1464,3 +1464,37 @@ jobs:
14641464# popd
14651465# emcmake cmake . -DCMAKE_BUILD_TYPE=${{ matrix.build }}
14661466# make
1467+
1468+ openEuler-latest-cmake-cann :
1469+ if : ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'Ascend NPU') }}
1470+ defaults :
1471+ run :
1472+ shell : bash -el {0}
1473+ runs-on : ubuntu-24.04-arm
1474+ strategy :
1475+ matrix :
1476+ cann :
1477+ - ' 8.0.rc3.beta1-910b-openeuler22.03-py3.10'
1478+ device :
1479+ - ' ascend910b3'
1480+ build :
1481+ - ' Release'
1482+ container : ascendai/cann:${{ matrix.cann }}
1483+ steps :
1484+ - name : Checkout
1485+ uses : actions/checkout@v4
1486+
1487+ - name : Dependencies
1488+ run : |
1489+ yum update -y
1490+ yum install -y git gcc gcc-c++ make cmake
1491+
1492+ - name : Build
1493+ run : |
1494+ export LD_LIBRARY_PATH=${ASCEND_TOOLKIT_HOME}/lib64:${ASCEND_TOOLKIT_HOME}/$(uname -m)-linux/devlib/:${LD_LIBRARY_PATH}
1495+
1496+ cmake -S . -B build \
1497+ -DCMAKE_BUILD_TYPE=${{ matrix.build }} \
1498+ -DGGML_CANN=on \
1499+ -DSOC_TYPE=${{ matrix.device }}
1500+ cmake --build build -j $(nproc)
You can’t perform that action at this time.
0 commit comments