From 5c5b52785d3aaa22d722d61069acaee84e758ab2 Mon Sep 17 00:00:00 2001 From: Geoffroy Couprie Date: Tue, 16 Nov 2021 16:43:01 +0100 Subject: [PATCH] do not run xtask lint on OSX and Windows this is far too slow on other platforms than linux --- .circleci/config.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index dbe7a49275a..f2ad2545051 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -219,9 +219,15 @@ jobs: - run: command: > cargo xtask test --with-demo - - run: - command: > - cargo xtask lint + # xtask lint is far too slow on OSX and windows, and executes in the same way + # on all platforms anyway + - when: + condition: + equal: [ *rust_linux_executor, << parameters.platform >> ] + steps: + - run: + command: > + cargo xtask lint build_release: parameters: