Fix rustup toolchain and glib-2.0 dependencies
Some checks failed
Build bootc Package / Build bootc Package (push) Failing after 5m27s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 2m12s

- Set rustup default toolchain to stable
- Add libglib2.0-dev for Rust crate compatibility
- Fix build dependency issues in both workflows
This commit is contained in:
robojerk 2025-07-21 22:21:28 +00:00
parent 8e99e9dcd2
commit 9e9dfebbf2
2 changed files with 11 additions and 0 deletions

View file

@ -46,6 +46,9 @@ jobs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. ~/.cargo/env
# Set default toolchain for rustup
rustup default stable
# Verify Rust version
rustc --version
cargo --version

View file

@ -27,6 +27,9 @@ jobs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
. ~/.cargo/env
# Set default toolchain for rustup
rustup default stable
# Verify Rust version
rustc --version
cargo --version
@ -38,6 +41,11 @@ jobs:
cp -r /tmp/bootc-deb/* .
cp -r /tmp/bootc-deb/.* . 2>/dev/null || true
- name: Install build dependencies
run: |
apt update -y
apt install -y libglib2.0-dev pkg-config
- name: Check libostree version
run: |
pkg-config --modversion ostree-1 || echo "libostree not found"