From 1a15aa704da1d99e34869309b4d4d2df23e762f9 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 20 Feb 2024 13:57:44 +0400 Subject: ci: Check individual features --- .github/workflows/ci.yml | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b3eed79a..455460be 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -42,11 +42,20 @@ jobs: with: key: ${{ matrix.configuration }} - - name: Build (no default features) - run: cargo build ${{ matrix.release-flag }} --no-default-features + - name: Check (no default features) + run: cargo check ${{ matrix.release-flag }} --no-default-features - - name: Build - run: cargo build ${{ matrix.release-flag }} + - name: Check (just dbus) + run: cargo check ${{ matrix.release-flag }} --no-default-features --features dbus + + - name: Check (just systemd) + run: cargo check ${{ matrix.release-flag }} --no-default-features --features systemd + + - name: Check (just xdp-gnome-screencast) + run: cargo check ${{ matrix.release-flag }} --no-default-features --features xdp-gnome-screencast + + - name: Check + run: cargo check ${{ matrix.release-flag }} - name: Build (with profiling) run: cargo build ${{ matrix.release-flag }} --features profile-with-tracy -- cgit