From fadbbc958867e64bdb6d8b1e753133294fcc9f15 Mon Sep 17 00:00:00 2001 From: Colin Edwards Date: Sun, 9 Feb 2020 19:10:57 -0600 Subject: [PATCH] CI: Fail osx and linux on build failures. Fix decklink clang-format --- azure-pipelines.yml | 2 ++ formatcode.sh | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 0f35be403..9b1a2d891 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -41,6 +41,7 @@ jobs: displayName: 'Cmake' - bash: | + set -e cd ./build make -j4 cd - @@ -126,6 +127,7 @@ jobs: displayName: 'CMake' - bash: | + set -e cd ./build make -j4 cd - diff --git a/formatcode.sh b/formatcode.sh index 6b8d70346..87a54785e 100755 --- a/formatcode.sh +++ b/formatcode.sh @@ -29,9 +29,9 @@ fi find . -type d \( -path ./deps \ -o -path ./cmake \ --o -path ./plugins/decklink/win \ --o -path ./plugins/decklink/mac \ --o -path ./plugins/decklink/linux \ +-o -path ./plugins/decklink/win/decklink-sdk \ +-o -path ./plugins/decklink/mac/decklink-sdk \ +-o -path ./plugins/decklink/linux/decklink-sdk \ -o -path ./plugins/enc-amf \ -o -path ./plugins/mac-syphon/syphon-framework \ -o -path ./plugins/obs-outputs/ftl-sdk \