Skip to content

GH Action - test all features #62

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/rust-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,23 @@ 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

Loading