build: Release-Workflow korrigieren (upload-artifact v3, Arch ohne LTO)

Der erste Lauf auf srv01 zeigte: Das .deb baut, aber upload-artifact@v4
wird von Gitea nicht unterstützt. Beim Arch-Paket scheiterte der Link an
fehlenden sqlite3-Symbolen, weil makepkg das gebündelte SQLite mit -flto
kompiliert. Fix: upload-artifact@v3 und options=(!lto).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-07 12:20:56 +01:00
parent 04ecaa4585
commit 979f404ad2
2 changed files with 4 additions and 3 deletions

View File

@ -23,7 +23,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
- run: npm ci - run: npm ci
- run: npm run tauri build -- --bundles deb - run: npm run tauri build -- --bundles deb
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v3
with: with:
name: coding-bench-deb name: coding-bench-deb
path: src-tauri/target/release/bundle/deb/*.deb path: src-tauri/target/release/bundle/deb/*.deb
@ -51,7 +51,7 @@ jobs:
chown -R builder:builder /home/builder/pkg chown -R builder:builder /home/builder/pkg
su builder -c "cd /home/builder/pkg && makepkg -s --noconfirm -f" su builder -c "cd /home/builder/pkg && makepkg -s --noconfirm -f"
cp /home/builder/pkg/*.pkg.tar.zst src/ cp /home/builder/pkg/*.pkg.tar.zst src/
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v3
with: with:
name: coding-bench-arch name: coding-bench-arch
path: src/*.pkg.tar.zst path: src/*.pkg.tar.zst

View File

@ -12,7 +12,8 @@ depends=('webkit2gtk-4.1' 'gtk3' 'librsvg' 'libayatana-appindicator' 'podman')
makedepends=('rust' 'nodejs' 'npm') makedepends=('rust' 'nodejs' 'npm')
source=("$pkgname-$pkgver.tar.gz") source=("$pkgname-$pkgver.tar.gz")
sha256sums=('SKIP') sha256sums=('SKIP')
options=('!debug') # !lto: makepkg compiliert sonst das gebündelte SQLite mit -flto, lld findet dann die Symbole nicht.
options=('!debug' '!lto')
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname-$pkgver"