mirror of
https://github.com/derrod/legendary.git
synced 2026-05-10 15:13:23 +00:00
A few tweaks that should make it even faster
This commit is contained in:
parent
14292037ce
commit
63527d7489
12
.github/workflows/python.yml
vendored
12
.github/workflows/python.yml
vendored
|
|
@ -16,6 +16,8 @@ jobs:
|
|||
'macos-15-intel', 'macos-15'
|
||||
]
|
||||
fail-fast: false
|
||||
env:
|
||||
UV_SYSTEM_PYTHON: 1
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
|
@ -30,10 +32,10 @@ jobs:
|
|||
enable-cache: true
|
||||
|
||||
- name: Dependencies
|
||||
run: uv sync
|
||||
run: uv sync --no-install-local
|
||||
|
||||
- name: Optional dependencies (WebView)
|
||||
run: uv sync --extra webview
|
||||
run: uv sync --extra webview --no-install-local
|
||||
if: runner.os != 'macOS'
|
||||
|
||||
- name: Build tools
|
||||
|
|
@ -84,14 +86,14 @@ jobs:
|
|||
- run: mkdir -p build dist
|
||||
|
||||
- name: Dependencies
|
||||
run: uv export --format requirements.txt | uv pip install --requirement - --target build
|
||||
run: uv export --format requirements.txt --no-install-local | uv pip install --requirement - --target build
|
||||
|
||||
- run: cp zipapp_main.py build/__main__.py
|
||||
|
||||
- run: |
|
||||
uv build
|
||||
uv pip install dist/legendary_gl-*.tar.gz --target build
|
||||
|
||||
- run: cp zipapp_main.py build/__main__.py
|
||||
|
||||
- name: Build
|
||||
run: python -m zipapp
|
||||
--output dist/legendary
|
||||
|
|
|
|||
Loading…
Reference in a new issue