aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-01-20 09:21:54 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-01-20 09:25:50 +0400
commite86e9c6c9a90848ec487107259a79d8ab66475ec (patch)
tree69a73f2abfb9edd6317b07cb2b3861aaa668ad1a /.github/workflows
parentdc47de178f1d3910bc193973192586e8b118e475 (diff)
downloadniri-e86e9c6c9a90848ec487107259a79d8ab66475ec.tar.gz
niri-e86e9c6c9a90848ec487107259a79d8ab66475ec.tar.bz2
niri-e86e9c6c9a90848ec487107259a79d8ab66475ec.zip
CI: Add a Fedora build
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/ci.yml17
1 files changed, 17 insertions, 0 deletions
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
+