Skip to content

Install shaderc with package manager in Linux CI workflow - #512

Merged
Ralith merged 1 commit into
Ralith:masterfrom
patowen:linux-ci-no-shaderc
Aug 10, 2026
Merged

Install shaderc with package manager in Linux CI workflow#512
Ralith merged 1 commit into
Ralith:masterfrom
patowen:linux-ci-no-shaderc

Conversation

@patowen

@patowen patowen commented Aug 9, 2026

Copy link
Copy Markdown
Collaborator

Currently, the package.yml workflow for Linux uses the package manager to install Vulkan. I decided to replicate this setup for CI, as well as getting it to install shaderc.

This seems to work properly, as the unit tests pass. I also realize that the shaderc issues in package.yml were for Ubuntu 20.04, and we have since upgraded to 22.04, so it would probably make sense to install a pre-built version of shaderc there as well.

When I had tested with more verbose output in https://github.com/Ralith/hypermine/actions/runs/31316952178/job/93253646075 (using command cargo build --workspace --all-targets --locked -vv 2>&1 | grep --line-buffered "shaderc\|Compiling"), I got the following:

cargo:warning=shaderc: searching native shaderc libraries in '/usr/lib/x86_64-linux-gnu' from pkg-config

The build log did not mention it was building from source, so I think we are good on that front.

@patowen
patowen force-pushed the linux-ci-no-shaderc branch 2 times, most recently from de6fe2f to dd76b05 Compare August 9, 2026 14:11
@patowen
patowen marked this pull request as ready for review August 9, 2026 14:22
Comment thread .github/workflows/rust.yml
@patowen patowen changed the title Move Linux CI workflow away from shaderc Install shaderc with package manager in Linux CI workflow Aug 9, 2026
@patowen
patowen force-pushed the linux-ci-no-shaderc branch from dd76b05 to 4cddd57 Compare August 10, 2026 00:06
@Ralith
Ralith merged commit 021e656 into Ralith:master Aug 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants