Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FastLED/FastLED.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Troisi <sethtroisi@google.com>2022-02-27 04:58:49 +0300
committerSeth Troisi <sethtroisi@google.com>2022-02-27 05:50:32 +0300
commit4fbd3f42eafd3e22689bf5be182d03ac14c5fc43 (patch)
tree6c66572d1ad9b1570e86b72a0fd771e20d5a02f2
parent4d73cddfe4bd2b370ee882b6f68769bf7f8309f4 (diff)
Reduce number of warnings during CI
-rwxr-xr-xci/ci-compile12
-rw-r--r--ci/ci-flags.py3
2 files changed, 10 insertions, 5 deletions
diff --git a/ci/ci-compile b/ci/ci-compile
index 208a173a..a7a21f2c 100755
--- a/ci/ci-compile
+++ b/ci/ci-compile
@@ -8,12 +8,12 @@
# [BOARDS=boards] [EXAMPLES=examples] ./ci-compile
#
# e.g.
-# $ ./compile-ci
+# $ ./compile-ci
# - compile all board/examples combinations
#
-# $ BOARDS="esp32 esp01" EXAMPLES=Blink ./compile-ci
+# $ BOARDS="esp32 esp01" EXAMPLES=Blink ./compile-ci
# - compile only Blink example for the esp32 and esp8266 platforms
-#
+#
set -eou pipefail
# List of examples that will be compiled by default
@@ -30,7 +30,9 @@ BOARD_OPTS=$(for b in $BOARDS; do echo -n "--board $b "; done)
cd "$DIR/.."
-for d in $EXAMPLES ; do
+export PLATFORMIO_EXTRA_SCRIPTS="pre:lib/ci/ci-flags.py"
+
+for d in $EXAMPLES ; do
echo "*** building example $d for $BOARDS ***"
- pio ci $BOARD_OPTS --lib=src "examples/$d/"*ino
+ pio ci $BOARD_OPTS --lib=ci --lib=src "examples/$d/"*ino
done
diff --git a/ci/ci-flags.py b/ci/ci-flags.py
new file mode 100644
index 00000000..044fdb1c
--- /dev/null
+++ b/ci/ci-flags.py
@@ -0,0 +1,3 @@
+Import("env")
+
+env.Append(CXXFLAGS=["-Wno-register"])