Skip to content

[feat] add python ci. #1

[feat] add python ci.

[feat] add python ci. #1

Workflow file for this run

name: python
on:
push:
branches:
- master
- 'feature/**'
paths:
- 'src/**'
- 'python/**'
- '.github/workflows/python.yml'
pull_request:
branches: [master]
paths:
- 'src/**'
- 'python/**'
- '.github/workflows/python.yml'
jobs:
build:
name: linux-build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: build
run: ./script/py_build.sh
- name: download_mode
run: |
wget -c -nv https://github.com/wangzhaode/mnn-llm/releases/download/qwen1.5-0.5b-chat-mnn/Qwen1.5-0.5B-Chat-MNN.zip
unzip Qwen1.5-0.5B-Chat-MNN.zip
- name: test_model
run: |
python python/test.py ../Qwen1.5-0.5B-Chat-MNN/config.json