Add .editorconfig
Change-Id: Ifdb0d98f4e3011b70168644c86d9e225df749b15
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..f9b3c4d
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,29 @@
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+
+[*.{cpp,hpp}]
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = true
+
+[{*.{py,sh},.jenkins,wscript}]
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = true
+
+[*.md]
+indent_style = space
+trim_trailing_whitespace = false
+
+[*.rst]
+indent_style = space
+trim_trailing_whitespace = true
+
+[*.{yaml,yml}]
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = true
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index ad52af3..4a625ca 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -1,6 +1,14 @@
name: CI
on:
push:
+ branches:
+ - '**'
+ paths-ignore:
+ - '*.conf.sample*'
+ - '.editorconfig'
+ - '.gitignore'
+ - '.mailmap'
+ - '*.md'
workflow_dispatch:
permissions: {}
diff --git a/.jenkins.d/00-deps.sh b/.jenkins.d/00-deps.sh
index 9a2b436..59c90ef 100755
--- a/.jenkins.d/00-deps.sh
+++ b/.jenkins.d/00-deps.sh
@@ -35,6 +35,7 @@
set -x
if [[ $ID == macos ]]; then
+ export HOMEBREW_NO_ENV_HINTS=1
if [[ -n $GITHUB_ACTIONS ]]; then
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1
fi