mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
ci: testing nuitka
This commit is contained in:
parent
407c736522
commit
cf27a73149
2 changed files with 15 additions and 4 deletions
18
.github/workflows/build.yml
vendored
18
.github/workflows/build.yml
vendored
|
@ -2,7 +2,7 @@ name: Build
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: main
|
branches: "**"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -47,8 +47,20 @@ jobs:
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pip install -r requirements.txt
|
run: pip install -r requirements.txt
|
||||||
|
|
||||||
- name: Build with pyinstaller
|
- name: Build with Nuitka
|
||||||
run: pyinstaller torrent-client/main.py --distpath resources/dist --icon=images/icon.ico -n hydra-download-manager
|
uses: Nuitka/Nuitka-Action@main
|
||||||
|
with:
|
||||||
|
nuitka-version: main
|
||||||
|
working-directory: torrent-client
|
||||||
|
script-name: main.py
|
||||||
|
standalone: true
|
||||||
|
enable-plugins: libtorrent
|
||||||
|
output-dir: resources/dist
|
||||||
|
output-file: hydra-download-manager
|
||||||
|
windows-icon-from-ico: images/icon.ico
|
||||||
|
|
||||||
|
# - name: Build with pyinstaller
|
||||||
|
# run: pyinstaller torrent-client/main.py --distpath resources/dist --icon=images/icon.ico -n hydra-download-manager
|
||||||
|
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: yarn run publish
|
run: yarn run publish
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
libtorrent
|
libtorrent
|
||||||
pyinstaller
|
|
||||||
pywin32; sys_platform == 'win32'
|
pywin32; sys_platform == 'win32'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue