From eebea741cad3a38609e258ba33882a56c9ea1c19 Mon Sep 17 00:00:00 2001 From: Aleksander Tudruj Date: Mon, 18 Sep 2023 22:17:10 +0200 Subject: [PATCH 1/2] Added GH Action Job to test and build all features in Cargo project --- .github/workflows/rust-checks.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.github/workflows/rust-checks.yml b/.github/workflows/rust-checks.yml index e0983f2..e20fc8e 100644 --- a/.github/workflows/rust-checks.yml +++ b/.github/workflows/rust-checks.yml @@ -42,3 +42,22 @@ jobs: run: cargo fmt --check - name: Code Lint run: cargo clippy -- -D warnings + + check-all-features: + runs-on: ubuntu-latest + steps: + - uses: awalsh128/cache-apt-pkgs-action@latest + with: + packages: xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev + version: 1.0 + - uses: actions/checkout@v3 + - name: Rust cache + uses: Swatinem/rust-cache@v2 + with: + shared-key: 'kolezanka' + - name: Install cargo-all-features + run: cargo install cargo-all-features + - name: Build all features + run: cargo build-all-features --verbose + - name: Test all features + run: cargo test-all-features --verbose From 672e96d2833a1c00f7b7e9473a7135a73aae645a Mon Sep 17 00:00:00 2001 From: Aleksander Tudruj Date: Wed, 10 Apr 2024 12:46:39 +0200 Subject: [PATCH 2/2] retrigger gh checks --- .github/workflows/rust-checks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/rust-checks.yml b/.github/workflows/rust-checks.yml index e20fc8e..42f1097 100644 --- a/.github/workflows/rust-checks.yml +++ b/.github/workflows/rust-checks.yml @@ -61,3 +61,4 @@ jobs: run: cargo build-all-features --verbose - name: Test all features run: cargo test-all-features --verbose +