docs: function_trait_impl 的注释写错了 (: #57
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
name: "CMSIS pack" | |
on: | |
push: | |
branches: [master] | |
paths: | |
- "src/**.c" | |
- "inc/**.h" | |
- "inc/**.hpp" | |
- "support/project.toml" | |
- ".github/workflows/cmsis-pack.yml" | |
pull_request: | |
branches: [master] | |
paths: | |
- "src/**.c" | |
- "inc/**.h" | |
- "inc/**.hpp" | |
- "support/project.toml" | |
- ".github/workflows/cmsis-pack.yml" | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: "Log level" | |
required: true | |
default: "warning" | |
jobs: | |
pack-file: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install flake8 pytest | |
if [ -f thirds/zipack/requirements.txt ]; then pip install -r thirds/zipack/requirements.txt; fi | |
- name: Generate CMSIS pack | |
run: | | |
python thirds/zipack --project=./support/project.toml cmsis-pack | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: cmsis-pack-artifact | |
path: target_package/*.pack |