From 94ded2f6a9c6724fd6d90f0de4d9e8488880ecc9 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 16 Feb 2024 08:33:19 +0400 Subject: CI: Add a MSRV job --- .github/workflows/ci.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b3e3715..b3eed79a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,6 +82,30 @@ jobs: - name: Build run: cargo build --package niri-visual-tests + msrv: + strategy: + fail-fast: false + + name: 'msrv - 1.72.0' + runs-on: ubuntu-22.04 + container: ubuntu:23.10 + + steps: + - uses: actions/checkout@v4 + with: + show-progress: false + + - name: Install dependencies + run: | + apt-get update -y + apt-get install -y curl gcc clang libudev-dev libgbm-dev libxkbcommon-dev libegl1-mesa-dev libwayland-dev libinput-dev libdbus-1-dev libsystemd-dev libseat-dev libpipewire-0.3-dev libpango1.0-dev libadwaita-1-dev + + - uses: dtolnay/rust-toolchain@1.72.0 + + - uses: Swatinem/rust-cache@v2 + + - run: cargo check --all-targets + clippy: strategy: fail-fast: false -- cgit