From 7357839efbe20c2897febf8973a790dde04b4655 Mon Sep 17 00:00:00 2001 From: Saber Haj Rabiee Date: Mon, 16 Dec 2024 23:22:14 -0800 Subject: [PATCH 1/2] fix(ci): missing glib in ci --- .github/workflows/run-cargo-make-task.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/run-cargo-make-task.yml b/.github/workflows/run-cargo-make-task.yml index 6fe197dab1..ead1942bf4 100644 --- a/.github/workflows/run-cargo-make-task.yml +++ b/.github/workflows/run-cargo-make-task.yml @@ -14,6 +14,7 @@ on: env: CARGO_TERM_COLOR: always CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse + DEBIAN_FRONTEND: noninteractive jobs: test: name: Run ${{ inputs.cargo_make_task }} (${{ inputs.toolchain }}) @@ -33,6 +34,10 @@ jobs: echo "Disk space after cleanup:" df -h # Setup environment + - name: Install Glib + run: | + sudo apt-get update + sudo apt-get install -y libglib2.0-dev - uses: actions/checkout@v4 - name: Setup Rust uses: dtolnay/rust-toolchain@master From d08f8822c0958e0ed81767a1f900dfbfdf948a0e Mon Sep 17 00:00:00 2001 From: Saber Haj Rabiee Date: Mon, 16 Dec 2024 23:35:05 -0800 Subject: [PATCH 2/2] fix(ci): add missing glib for autofix ci --- .github/workflows/autofix.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 9c9567fe57..c337ffaee5 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -13,6 +13,7 @@ concurrency: env: CARGO_TERM_COLOR: always RUST_BACKTRACE: 1 + DEBIAN_FRONTEND: noninteractive jobs: autofix: runs-on: ubuntu-latest @@ -21,6 +22,10 @@ jobs: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 with: {toolchain: nightly, components: "rustfmt, clippy", target: "wasm32-unknown-unknown", rustflags: ""} + - name: Install Glib + run: | + sudo apt-get update + sudo apt-get install -y libglib2.0-dev - name: Install jq run: sudo apt-get install jq - run: |