Skip to content

Commit

Permalink
暂时屏蔽win32版本debug包
Browse files Browse the repository at this point in the history
  • Loading branch information
lunzhiPenxil committed May 15, 2024
1 parent 4b2d55d commit fd7a0fd
Showing 1 changed file with 40 additions and 40 deletions.
80 changes: 40 additions & 40 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,46 +126,46 @@ jobs:
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-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
Expand Down

0 comments on commit fd7a0fd

Please sign in to comment.