From 98f7a86d0db65cce0faf90e59e566cf9571eb471 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Fourrier?= Date: Tue, 24 Aug 2021 22:43:41 +0200 Subject: [PATCH] disable sensors.rs in build-linux --- .github/workflows/CI.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index fa5b473b..7a12fc12 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -75,5 +75,6 @@ jobs: rustc --version cargo --version cargo build --features "${CI_BUILD_FEATURES}" - cargo build --examples --features "${CI_BUILD_FEATURES}" + # sensors.rs require sdl 2.0.14 which is not available in ubuntu-latest + for example in $(ls examples/*.rs | grep -v sensors.rs); do cargo build --example "$(basename ${example%.*})" "${CI_BUILD_FEATURES}"; done cargo test --features "${CI_BUILD_FEATURES}"