From ae97db3e0f4dda9aac3213c6b3d75b45019911d8 Mon Sep 17 00:00:00 2001 From: gusto Date: Tue, 13 Dec 2022 13:33:51 +0200 Subject: [PATCH] Lint and check all features (#27) Added flags for the "Check" stage for linux and macos PR targets. --- ci/Jenkinsfile.prs.linux | 4 ++-- ci/Jenkinsfile.prs.macos | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ci/Jenkinsfile.prs.linux b/ci/Jenkinsfile.prs.linux index 0532abdb..34ff07d1 100644 --- a/ci/Jenkinsfile.prs.linux +++ b/ci/Jenkinsfile.prs.linux @@ -22,9 +22,9 @@ pipeline { stages { stage('Check') { steps { - sh 'cargo check' + sh 'cargo check --all --all-features' sh 'cargo fmt -- --check' - sh 'cargo clippy' + sh 'cargo clippy --all --all-features -- --deny warnings' } } diff --git a/ci/Jenkinsfile.prs.macos b/ci/Jenkinsfile.prs.macos index 5a256de1..2566e549 100644 --- a/ci/Jenkinsfile.prs.macos +++ b/ci/Jenkinsfile.prs.macos @@ -21,9 +21,9 @@ pipeline { stages { stage('Check') { steps { script { - nix.shell('cargo check') + nix.shell('cargo check --all --all-features') nix.shell('cargo fmt -- --check') - nix.shell('cargo clippy') + nix.shell('cargo clippy --all --all-features -- --deny warnings') } } }