Skip to content

[refactor] refactor build script and ci. #61

[refactor] refactor build script and ci.

[refactor] refactor build script and ci. #61

Workflow file for this run

name: macos
on:
push:
branches:
- master
- 'feature/**'
paths:
- 'src/**'
- '.github/workflows/macos.yml'
pull_request:
branches: [master]
paths:
- 'src/**'
- '.github/workflows/macos.yml'
jobs:
build:
name: macos-build
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: build
run: ./script/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: |
cd build
./cli_demo ../Qwen1.5-0.5B-Chat-MNN/config.json ../resource/prompt.txt