-
Notifications
You must be signed in to change notification settings - Fork 173
38 lines (33 loc) · 897 Bytes
/
windows.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: windows
on:
push:
branches:
- master
- 'feature/**'
paths:
- 'src/**'
- '.github/workflows/windows.yml'
pull_request:
branches: [master]
paths:
- 'src/**'
- '.github/workflows/windows.yml'
jobs:
build:
name: windows-build
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: build
run: .\script\build.ps1
- name: download_mode
run: |
Invoke-WebRequest -Uri https://github.com/wangzhaode/mnn-llm/releases/download/qwen1.5-0.5b-chat-mnn/Qwen1.5-0.5B-Chat-MNN.zip -OutFile Qwen1.5-0.5B-Chat-MNN.zip
unzip Qwen1.5-0.5B-Chat-MNN.zip
- name: test_model
run: |
cd build
.\Release\cli_demo ..\Qwen1.5-0.5B-Chat-MNN\config.json ..\resource\prompt.txt
Exit 0