From ddf95551fd93f6cb0556ea877c32ee67c4be7e3e Mon Sep 17 00:00:00 2001 From: Alexander Mohr Date: Sat, 19 Apr 2025 01:19:54 +0200 Subject: [PATCH] fix ci --- .github/workflows/rust.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1932245..1bfa29b 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,6 +18,24 @@ jobs: - uses: actions/checkout@v4 - uses: actions-rust-lang/setup-rust-toolchain@v1 + + - name: Install ubuntu dependcies + run: | + sudo apt update + sudo apt install -y librust-gdk4-sys-dev \ + libglib2.0-dev libgtk-layer-shell-dev libgtk-layer-shell0 gir1.2-gtklayershell-0.1 \ + libgtk-4-dev gobject-introspection libgirepository1.0-dev gtk-doc-tools python3 valac \ + git cmake gcc meson ninja-build + + - name: Install gt4k layer shell + run: | + git clone https://github.com/wmww/gtk4-layer-shell + cd gtk4-layer-shell + meson setup -Dexamples=true -Ddocs=true -Dtests=true build + ninja -C build + sudo ninja -C build install + sudo ldconfig + - name: Formatting run: cargo fmt --all -- --check - name: Clippy warnings