A few tweaks that should make it even faster

This commit is contained in:
Katharina Dröge 2026-04-08 21:57:11 +02:00
parent 14292037ce
commit 63527d7489
No known key found for this signature in database
GPG key ID: 3D586C5E334E5A26

View file

@ -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