Fix rustup toolchain and glib-2.0 dependencies
- 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:
parent
8e99e9dcd2
commit
9e9dfebbf2
2 changed files with 11 additions and 0 deletions
|
|
@ -46,6 +46,9 @@ jobs:
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
. ~/.cargo/env
|
. ~/.cargo/env
|
||||||
|
|
||||||
|
# Set default toolchain for rustup
|
||||||
|
rustup default stable
|
||||||
|
|
||||||
# Verify Rust version
|
# Verify Rust version
|
||||||
rustc --version
|
rustc --version
|
||||||
cargo --version
|
cargo --version
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,9 @@ jobs:
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||||
. ~/.cargo/env
|
. ~/.cargo/env
|
||||||
|
|
||||||
|
# Set default toolchain for rustup
|
||||||
|
rustup default stable
|
||||||
|
|
||||||
# Verify Rust version
|
# Verify Rust version
|
||||||
rustc --version
|
rustc --version
|
||||||
cargo --version
|
cargo --version
|
||||||
|
|
@ -38,6 +41,11 @@ jobs:
|
||||||
cp -r /tmp/bootc-deb/* .
|
cp -r /tmp/bootc-deb/* .
|
||||||
cp -r /tmp/bootc-deb/.* . 2>/dev/null || true
|
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
|
- name: Check libostree version
|
||||||
run: |
|
run: |
|
||||||
pkg-config --modversion ostree-1 || echo "libostree not found"
|
pkg-config --modversion ostree-1 || echo "libostree not found"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue