-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #56 from lovemefan/develop
add debug action
- Loading branch information
Showing
5 changed files
with
59 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: CI-debug | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
debug_enabled: | ||
type: boolean | ||
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)' | ||
required: false | ||
default: false | ||
|
||
jobs: | ||
openEuler-latest-cmake-cann: | ||
if: ${{ github.event_name == 'workflow_dispatch' && inputs.debug_enabled }} | ||
defaults: | ||
run: | ||
shell: bash -el {0} | ||
runs-on: ubuntu-24.04-arm | ||
strategy: | ||
matrix: | ||
cann: | ||
- '8.0.rc3.beta1-910b-openeuler22.03-py3.10' | ||
device: | ||
- 'ascend910b3' | ||
build: | ||
- 'Release' | ||
container: ascendai/cann:${{ matrix.cann }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Dependencies | ||
run: | | ||
yum update -y | ||
yum install -y git gcc gcc-c++ make cmake | ||
- name: Setup tmate session | ||
uses: mxschmitt/action-tmate@v3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule ggml
updated
from 475e01 to 5ceead