mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-14 12:12:13 +00:00
ci: testing nuitka
This commit is contained in:
parent
2893ff559f
commit
8120b9533a
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:
|
||||
push:
|
||||
branches: main
|
||||
branches: "**"
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -47,8 +47,20 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: pip install -r requirements.txt
|
||||
|
||||
- name: Build with pyinstaller
|
||||
run: pyinstaller torrent-client/main.py --distpath resources/dist --icon=images/icon.ico -n hydra-download-manager
|
||||
- name: Build with Nuitka
|
||||
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
|
||||
run: yarn run publish
|
||||
|
|
|
@ -1,3 +1,2 @@
|
|||
libtorrent
|
||||
pyinstaller
|
||||
pywin32; sys_platform == 'win32'
|
||||
|
|
Loading…
Reference in a new issue