summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Meta/Azure/Lagom.yml3
-rwxr-xr-xMeta/lint-ci.sh11
2 files changed, 13 insertions, 1 deletions
diff --git a/Meta/Azure/Lagom.yml b/Meta/Azure/Lagom.yml
index 96d619fc80..0d85897760 100644
--- a/Meta/Azure/Lagom.yml
+++ b/Meta/Azure/Lagom.yml
@@ -105,7 +105,8 @@ jobs:
- ${{ if eq(parameters.lagom_lints, true) }}:
- script: |
./Meta/check-markdown.sh
- displayName: 'Check Markdown'
+ git ls-files '*.ipc' | xargs ./Meta/Lagom/Build/Tools/IPCMagicLinter/IPCMagicLinter
+ displayName: 'Run lints that require Lagom'
workingDirectory: $(Build.SourcesDirectory)/
env:
MARKDOWN_CHECK_BINARY: ./Meta/Lagom/Build/markdown-check
diff --git a/Meta/lint-ci.sh b/Meta/lint-ci.sh
index 785be689d8..c7d40972b9 100755
--- a/Meta/lint-ci.sh
+++ b/Meta/lint-ci.sh
@@ -40,6 +40,17 @@ for cmd in \
fi
done
+if [ -x ./Build/lagom/Tools/IPCMagicLinter/IPCMagicLinter ]; then
+ if git ls-files '*.ipc' | xargs ./Build/lagom/Tools/IPCMagicLinter/IPCMagicLinter; then
+ echo -e "[${GREEN}OK${NC}]: IPCMagicLinter (in Meta/lint-ci.sh)"
+ else
+ echo -e "[${RED}FAIL${NC}]: IPCMagicLinter (in Meta/lint-ci.sh)"
+ ((FAILURES+=1))
+ fi
+else
+ echo -e "[${GREEN}SKIP${NC}]: IPCMagicLinter (in Meta/lint-ci.sh)"
+fi
+
echo "Running Meta/lint-clang-format.sh"
if Meta/lint-clang-format.sh --overwrite-inplace "$@" && git diff --exit-code; then
echo -e "[${GREEN}OK${NC}]: Meta/lint-clang-format.sh"