This commit is contained in:
josc146 2023-07-03 16:42:11 +08:00
parent b7d9ab0845
commit c54d10795f

View File

@ -81,6 +81,8 @@ jobs:
sudo apt-get install upx sudo apt-get install upx
sudo apt-get install build-essential libgtk-3-dev libwebkit2gtk-4.0-dev sudo apt-get install build-essential libgtk-3-dev libwebkit2gtk-4.0-dev
go install github.com/wailsapp/wails/v2/cmd/wails@latest go install github.com/wailsapp/wails/v2/cmd/wails@latest
rm -rf ./backend-python/wkv_cuda_utils
rm ./backend-python/get-pip.py
make make
mv build/bin/RWKV-Runner build/bin/RWKV-Runner_linux_x64 mv build/bin/RWKV-Runner build/bin/RWKV-Runner_linux_x64
@ -98,6 +100,8 @@ jobs:
go-version: '1.20.5' go-version: '1.20.5'
- run: | - run: |
go install github.com/wailsapp/wails/v2/cmd/wails@latest go install github.com/wailsapp/wails/v2/cmd/wails@latest
rm -rf ./backend-python/wkv_cuda_utils
rm ./backend-python/get-pip.py
make make
cp build/darwin/Readme_Install.txt build/bin/Readme_Install.txt cp build/darwin/Readme_Install.txt build/bin/Readme_Install.txt
cp build/bin/RWKV-Runner.app/Contents/MacOS/RWKV-Runner build/bin/RWKV-Runner_darwin_universal cp build/bin/RWKV-Runner.app/Contents/MacOS/RWKV-Runner build/bin/RWKV-Runner_darwin_universal