fix(release): exclude host display libraries from AppImage

This commit is contained in:
t8y2
2026-09-27 12:04:09 +08:00
parent e6edd02bbe
commit b4aba36dc9
2 changed files with 7 additions and 0 deletions
+3
View File
@@ -144,6 +144,9 @@ jobs:
env:
CARGO_INCREMENTAL: "0"
RUSTC_WRAPPER: sccache
# The GTK plugin wrapper removes these after its own deployment pass,
# while linuxdeploy must also exclude them from its later dependency pass.
LINUXDEPLOY_EXCLUDED_LIBRARIES: "libwayland-*.so*;libxkbcommon.so*;libxcb-randr.so*;libxcb-render.so*;libxcb-shm.so*;libXau.so*;libXdmcp.so*"
# Keep releases working until the shared S3 secrets are configured.
SCCACHE_GHA_ENABLED: ${{ secrets.SCCACHE_S3_BUCKET == '' && 'true' || 'false' }}
steps:
+4
View File
@@ -185,6 +185,10 @@ test("Linux releases pin the Wayland-capable AppImage bundler before upload", ()
assert.ok(prepareStep < buildStep);
assert.ok(buildStep < verifyStep);
assert.match(workflow, /XDG_CACHE_HOME: \$\{\{ runner\.temp \}\}\/dbx-tauri-cache/);
assert.match(
workflow,
/LINUXDEPLOY_EXCLUDED_LIBRARIES: "libwayland-\*\.so\*;libxkbcommon\.so\*;libxcb-randr\.so\*;libxcb-render\.so\*;libxcb-shm\.so\*;libXau\.so\*;libXdmcp\.so\*"/,
);
assert.match(setup, /tauri_fix_commit=8e7028331ad37ac2db74d4ec20e66be5cacf2c40/);
assert.match(setup, /linuxdeploy_revision=07333c6/);
assert.match(setup, /36a2d7e274d12e1050d0e9ecfe11d339ed54720b2bec464c286d53f8b07f5c62/);