Pārlūkot izejas kodu

CI: Fail osx and linux on build failures. Fix decklink clang-format

Colin Edwards 5 gadi atpakaļ
vecāks
revīzija
fadbbc9588
2 mainītis faili ar 5 papildinājumiem un 3 dzēšanām
  1. 2 0
      azure-pipelines.yml
  2. 3 3
      formatcode.sh

+ 2 - 0
azure-pipelines.yml

@@ -41,6 +41,7 @@ jobs:
     displayName: 'Cmake'
     displayName: 'Cmake'
 
 
   - bash: |
   - bash: |
+      set -e
       cd ./build
       cd ./build
       make -j4
       make -j4
       cd -
       cd -
@@ -126,6 +127,7 @@ jobs:
     displayName: 'CMake'
     displayName: 'CMake'
 
 
   - bash: |
   - bash: |
+      set -e
       cd ./build
       cd ./build
       make -j4
       make -j4
       cd -
       cd -

+ 3 - 3
formatcode.sh

@@ -29,9 +29,9 @@ fi
 
 
 find . -type d \( -path ./deps \
 find . -type d \( -path ./deps \
 -o -path ./cmake \
 -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/enc-amf \
 -o -path ./plugins/mac-syphon/syphon-framework \
 -o -path ./plugins/mac-syphon/syphon-framework \
 -o -path ./plugins/obs-outputs/ftl-sdk \
 -o -path ./plugins/obs-outputs/ftl-sdk \