harmonize build scripts

This commit is contained in:
2026-03-30 00:33:40 -07:00
parent 59055952d0
commit c1d2b04e45
4 changed files with 5 additions and 6 deletions

View File

@@ -13,13 +13,13 @@ jobs:
include:
- os: macos-latest
label: macOS
build_cmd: bash scripts/build-mac.sh
build_cmd: npm run build:mac
artifact_path: desktop-dist/tono.dmg
artifact_name: tono-macos
- os: ubuntu-latest
label: Linux
build_cmd: bash scripts/build-linux.sh
build_cmd: npm run build:linux
artifact_path: desktop-dist/tono-linux.tar.gz
artifact_name: tono-linux
@@ -45,10 +45,12 @@ jobs:
node-version: "20"
cache: npm
# Build scripts call `uv pip install` for Python deps
- name: Install uv
run: pip install uv
- name: Create venv
run: uv venv --python 3.13
# Linux: pywebview needs webkit2gtk headers to import during PyInstaller collection
- name: Install Linux system dependencies
if: runner.os == 'Linux'

View File

@@ -15,7 +15,6 @@ done
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$REPO_ROOT"
uv venv --python 3.13
source .venv/bin/activate
if [ -d ".venv/bin" ]; then

View File

@@ -15,7 +15,6 @@ done
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
cd "$REPO_ROOT"
uv venv --python 3.13
source .venv/bin/activate
if [ -d ".venv/bin" ]; then

View File

@@ -30,7 +30,6 @@ function Assert-LastExitCode {
$repoRoot = Split-Path -Parent $PSScriptRoot
Set-Location $repoRoot
uv venv --python 3.13
./.venv/Scripts/Activate
$pythonExe = if (Test-Path ".\.venv\Scripts\python.exe") {