Repository navigation
Fix: restore Linux CI dependency installation - #446
Conversation
|
Is there a particular reason why you choose to step away from the cached approach? |
|
Fair point, and no good reason. The cached step was the part that failed, so I swapped it for a plain install without checking what that costs. I looked at the logs again and I think the cache can stay. On x64 the action choked on I'll rework the PR that way if that sounds OK to you. |
…kages and conditional dependency verification.
This reverts commit 47d139b.
|
I'll leave the nuget caching issue for another day, as it is a bit too difficult to setup in a project like this on a whim |
…al validation, and fallback installation
📊 Code Coverage Report
C# Project Breakdown
|
Summary
Both Linux builds in the failing run reached CMake without
libnotifyafter the cached APT install failed. The fallback installed GTK and WebKitGTK, but leftlibnotifymissing.Type of change
Affected modules / scope
.github/actions/setup-dependencies/action.ymlThis is based on
coreand can be reviewed separately from #444.Changes introduced
apt-get updatefollowed by a direct install. Keep the full package list and normal APT recommendations, and stop the step if installation fails.libgdk-pixbuf-2.0-dev, which is available on both runner distributions. The old name is transitional on Ubuntu 24.04 and absent from Ubuntu 26.04.gtk+-3.0,webkit2gtk-4.1andlibnotifytogether before the native build, so GTK being present cannot hide a missing dependency.Related issues
Fixes #445.
Checklist
Additional context
I ran the action's exact Linux shell block in clean Ubuntu 26.04 x64 and Ubuntu 24.04 ARM64 containers, with ARM64 running under emulation. Both passed dependency installation, all three module checks and GUI smoke checks. Native Release builds with test exports also passed on both architectures, using CMake 4.4.0 and Node 24.22.2.
Actionlint 1.7.12, Bash syntax checks and failure-propagation checks passed as well. The latter confirmed that APT update/install errors and a missing required module stop the step.
These were local container checks. The full workflow still needs a run on GitHub's hosted runners.