From e86e9c6c9a90848ec487107259a79d8ab66475ec Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 20 Jan 2024 09:21:54 +0400 Subject: CI: Add a Fedora build --- .github/workflows/ci.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 185c038f..e61eba90 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -107,3 +107,20 @@ jobs: - name: Run rustfmt run: cargo fmt --all -- --check + fedora: + runs-on: ubuntu-22.04 + container: fedora:39 + + steps: + - uses: actions/checkout@v4 + with: + show-progress: false + + - name: Install dependencies + run: | + sudo dnf update -y + sudo dnf install -y cargo gcc libudev-devel libgbm-devel libxkbcommon-devel wayland-devel libinput-devel dbus-devel systemd-devel libseat-devel pipewire-devel pango-devel cairo-gobject-devel clang + + - uses: Swatinem/rust-cache@v2 + - run: cargo build + -- cgit