forked from lunamidori5/Midori-AI
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 1.53 KB
/
Linux_Build_Test.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
name: Linux Build Test
on: [push, pull_request]
jobs:
Linux-LocalAI-Manager:
runs-on: [ubuntu-latest]
strategy:
max-parallel: 5
steps:
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Download Files
run: |
curl -O https://raw.githubusercontent.com/lunamidori5/Midori-AI/master/other_files/model_installer/model_installer.py
curl -O https://raw.githubusercontent.com/lunamidori5/Midori-AI/master/other_files/model_installer/carly_help.py
curl -O https://raw.githubusercontent.com/lunamidori5/Midori-AI/master/other_files/model_installer/setup_docker.py
curl -O https://raw.githubusercontent.com/lunamidori5/Midori-AI/master/other_files/model_installer/setup_models.py
curl -O https://raw.githubusercontent.com/lunamidori5/Midori-AI/master/other_files/model_installer/edit_models.py
curl -O https://raw.githubusercontent.com/lunamidori5/Midori-AI/master/other_files/model_installer/requirements.txt
curl -O https://raw.githubusercontent.com/lunamidori5/Midori-AI/master/other_files/midori_program_ver.txt
curl -O https://raw.githubusercontent.com/lunamidori5/Midori-AI/master/other_files/python_ver.py
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Edit LocalAI Manager VER
run: |
python python_ver.py
rm -f python_ver.py
- name: Make EXE file
run: |
pyinstaller --onefile --clean model_installer.py