Skip to content

调整终端输入框 #378

调整终端输入框

调整终端输入框 #378

Workflow file for this run

name: CI-Packing-all
on:
push:
branches: [ main, dev ]
jobs:
build-win64-release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.7.5
cache: pip
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r ./requirements_win.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack.py ./OlivOS/hook.py
pyinstaller ./main.spec
- name: Run artifact
run: |
mkdir OlivOS-Win
cp ./dist/main.exe ./OlivOS-win/OlivOS.exe
- name: Packing OlivOS-Win
uses: actions/upload-artifact@v3
with:
name: OlivOS-Win-old-origin
path: ./OlivOS-Win
- name: Ready for Packing
#run: |
# mkdir ./OlivOS-Win/lib
# curl -L https://github.com/Mrs4s/go-cqhttp/releases/latest/download/go-cqhttp_windows_amd64.exe -o ./OlivOS-Win/lib/go-cqhttp.exe
# curl -L https://github.com/onebot-walle/walle-q/releases/latest/download/walle-q-i686-windows-gnu.exe -o ./OlivOS-Win/lib/walle-q.exe
run: |
mkdir ./OlivOS-Win/lib
- name: Packing OlivOS-Win-with-lib
uses: actions/upload-artifact@v3
with:
name: OlivOS-Win-old
path: ./OlivOS-Win
build-win64-debug:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.7.5
cache: pip
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r ./requirements_win.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
pyinstaller ./main_debug.spec
- name: Run artifact
run: |
mkdir OlivOS-Win
cp ./dist/main.exe ./OlivOS-win/OlivOS_debug.exe
- name: Packing OlivOS-Win
uses: actions/upload-artifact@v3
with:
name: OlivOS-Win-64-old-debug-origin
path: ./OlivOS-Win
- name: Ready for Packing
#run: |
# mkdir ./OlivOS-Win/lib
# curl -L https://github.com/Mrs4s/go-cqhttp/releases/latest/download/go-cqhttp_windows_amd64.exe -o ./OlivOS-Win/lib/go-cqhttp.exe
# curl -L https://github.com/onebot-walle/walle-q/releases/latest/download/walle-q-i686-windows-gnu.exe -o ./OlivOS-Win/lib/walle-q.exe
run: |
mkdir ./OlivOS-Win/lib
- name: Packing OlivOS-Win-with-lib
uses: actions/upload-artifact@v3
with:
name: OlivOS-Win-64-old-debug
path: ./OlivOS-Win
build-win32-release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.7.5
cache: pip
architecture: x86
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r ./requirements_win.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack.py ./OlivOS/hook.py
pyinstaller ./main.spec
- name: Run artifact
run: |
mkdir OlivOS-Win
cp ./dist/main.exe ./OlivOS-win/OlivOS.exe
- name: Packing OlivOS-Win
uses: actions/upload-artifact@v3
with:
name: OlivOS-Win-32-old-origin
path: ./OlivOS-Win
- name: Ready for Packing
#run: |
# mkdir ./OlivOS-Win/lib
# curl -L https://github.com/Mrs4s/go-cqhttp/releases/latest/download/go-cqhttp_windows_386.exe -o ./OlivOS-Win/lib/go-cqhttp.exe
# curl -L https://github.com/onebot-walle/walle-q/releases/latest/download/walle-q-i686-windows-gnu.exe -o ./OlivOS-Win/lib/walle-q.exe
run: |
mkdir ./OlivOS-Win/lib
- name: Packing OlivOS-Win-with-lib
uses: actions/upload-artifact@v3
with:
name: OlivOS-Win-32-old
path: ./OlivOS-Win
build-win32-debug:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.7.5
cache: pip
architecture: x86
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r ./requirements_win.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
pyinstaller ./main_debug.spec
- name: Run artifact
run: |
mkdir OlivOS-Win
cp ./dist/main.exe ./OlivOS-win/OlivOS_debug.exe
- name: Packing OlivOS-Win
uses: actions/upload-artifact@v3
with:
name: OlivOS-Win-32-old-debug-origin
path: ./OlivOS-Win
- name: Ready for Packing
#run: |
# mkdir ./OlivOS-Win/lib
# curl -L https://github.com/Mrs4s/go-cqhttp/releases/latest/download/go-cqhttp_windows_386.exe -o ./OlivOS-Win/lib/go-cqhttp.exe
# curl -L https://github.com/onebot-walle/walle-q/releases/latest/download/walle-q-i686-windows-gnu.exe -o ./OlivOS-Win/lib/walle-q.exe
run: |
mkdir ./OlivOS-Win/lib
- name: Packing OlivOS-Win-with-lib
uses: actions/upload-artifact@v3
with:
name: OlivOS-Win-32-old-debug
path: ./OlivOS-Win
build-linux-release:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.7.5
cache: pip
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r ./requirements.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
pyinstaller ./main_linux.spec
- name: Run artifact
run: |
mkdir OlivOS-PKG
cp ./dist/main ./OlivOS-PKG/OlivOS
- name: Packing OlivOS-PKG
uses: actions/upload-artifact@v3
with:
name: OlivOS-Linux-old
path: ./OlivOS-PKG
build-win64-new-release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11.0
cache: pip
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r ./requirements310_win.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack.py ./OlivOS/hook.py
pyinstaller ./main.spec
- name: Run artifact
run: |
mkdir OlivOS-Win
cp ./dist/main.exe ./OlivOS-win/OlivOS.exe
- name: Packing OlivOS-Win
uses: actions/upload-artifact@v3
with:
name: OlivOS-Win-origin
path: ./OlivOS-Win
- name: Ready for Packing
#run: |
# mkdir ./OlivOS-Win/lib
# curl -L https://github.com/Mrs4s/go-cqhttp/releases/latest/download/go-cqhttp_windows_amd64.exe -o ./OlivOS-Win/lib/go-cqhttp.exe
# curl -L https://github.com/onebot-walle/walle-q/releases/latest/download/walle-q-i686-windows-gnu.exe -o ./OlivOS-Win/lib/walle-q.exe
run: |
mkdir ./OlivOS-Win/lib
- name: Packing OlivOS-Win-with-lib
uses: actions/upload-artifact@v3
with:
name: OlivOS-Win
path: ./OlivOS-Win
build-win64-new-debug:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11.0
cache: pip
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r ./requirements310_win.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
pyinstaller ./main_debug.spec
- name: Run artifact
run: |
mkdir OlivOS-Win
cp ./dist/main.exe ./OlivOS-win/OlivOS_debug.exe
- name: Packing OlivOS-Win
uses: actions/upload-artifact@v3
with:
name: OlivOS-Win-64-debug-origin
path: ./OlivOS-Win
- name: Ready for Packing
#run: |
# mkdir ./OlivOS-Win/lib
# curl -L https://github.com/Mrs4s/go-cqhttp/releases/latest/download/go-cqhttp_windows_amd64.exe -o ./OlivOS-Win/lib/go-cqhttp.exe
# curl -L https://github.com/onebot-walle/walle-q/releases/latest/download/walle-q-i686-windows-gnu.exe -o ./OlivOS-Win/lib/walle-q.exe
run: |
mkdir ./OlivOS-Win/lib
- name: Packing OlivOS-Win-with-lib
uses: actions/upload-artifact@v3
with:
name: OlivOS-Win-64-debug
path: ./OlivOS-Win
#build-win32-new-release:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v3
# - name: Setup Python
# uses: actions/setup-python@v4
# with:
# python-version: 3.11.0
# cache: pip
# architecture: x86
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# python -m pip install -r ./requirements310_win.txt
# - name: Run packing
# run: |
# cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
# cp ./OlivOS/hook_pack.py ./OlivOS/hook.py
# pyinstaller ./main.spec
# - name: Run artifact
# run: |
# mkdir OlivOS-Win
# cp ./dist/main.exe ./OlivOS-win/OlivOS.exe
# - name: Packing OlivOS-Win
# uses: actions/upload-artifact@v3
# with:
# name: OlivOS-Win-32-origin
# path: ./OlivOS-Win
# - name: Ready for Packing
# run: |
# mkdir ./OlivOS-Win/lib
# curl -L https://github.com/Mrs4s/go-cqhttp/releases/latest/download/go-cqhttp_windows_386.exe -o ./OlivOS-Win/lib/go-cqhttp.exe
# curl -L https://github.com/onebot-walle/walle-q/releases/latest/download/walle-q-i686-windows-gnu.exe -o ./OlivOS-Win/lib/walle-q.exe
# - name: Packing OlivOS-Win-with-lib
# uses: actions/upload-artifact@v3
# with:
# name: OlivOS-Win-32
# path: ./OlivOS-Win
#build-win32-new-debug:
# runs-on: windows-latest
# steps:
# - uses: actions/checkout@v3
# - name: Setup Python
# uses: actions/setup-python@v4
# with:
# python-version: 3.11.0
# cache: pip
# architecture: x86
# - name: Install dependencies
# run: |
# python -m pip install --upgrade pip
# python -m pip install -r ./requirements310_win.txt
# - name: Run packing
# run: |
# cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
# cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
# pyinstaller ./main_debug.spec
# - name: Run artifact
# run: |
# mkdir OlivOS-Win
# cp ./dist/main.exe ./OlivOS-win/OlivOS_debug.exe
# - name: Packing OlivOS-Win
# uses: actions/upload-artifact@v3
# with:
# name: OlivOS-Win-32-debug-origin
# path: ./OlivOS-Win
# - name: Ready for Packing
# run: |
# mkdir ./OlivOS-Win/lib
# curl -L https://github.com/Mrs4s/go-cqhttp/releases/latest/download/go-cqhttp_windows_386.exe -o ./OlivOS-Win/lib/go-cqhttp.exe
# curl -L https://github.com/onebot-walle/walle-q/releases/latest/download/walle-q-i686-windows-gnu.exe -o ./OlivOS-Win/lib/walle-q.exe
# - name: Packing OlivOS-Win-with-lib
# uses: actions/upload-artifact@v3
# with:
# name: OlivOS-Win-32-debug
# path: ./OlivOS-Win
build-linux-new-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.10.8
cache: pip
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r ./requirements310.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
pyinstaller ./main_linux.spec
- name: Run artifact
run: |
mkdir OlivOS-PKG
cp ./dist/main ./OlivOS-PKG/OlivOS
- name: Packing OlivOS-PKG
uses: actions/upload-artifact@v3
with:
name: OlivOS-Linux
path: ./OlivOS-PKG
build-macos-new-release:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.11.0
cache: pip
architecture: x64
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install -r ./requirements310.txt
- name: Run packing
run: |
cp ./OlivOS/hook.py ./OlivOS/hook_bak.py
cp ./OlivOS/hook_pack_debug.py ./OlivOS/hook.py
pyinstaller ./main_mac.spec
- name: Run artifact
run: |
mkdir OlivOS-PKG
cp ./dist/main ./OlivOS-PKG/OlivOS
- name: Packing OlivOS-PKG
uses: actions/upload-artifact@v3
with:
name: OlivOS-MacOS
path: ./OlivOS-PKG