
* [CI] Add CI scripts, save metrics on build * Fix token name * Fix path * Pass size files via artifacts * Fix path to artifacts * Fix git hash in artifact filename * Fix git hash * Fix artifact name * Fix artifact path * Avoid filenames with colons * Fix artifact paths * Remove incorrect cd * Add missing cd * Fix paths in second repo * More path fixing * Fix artifacts repo name * Remove path from example filename in output * Add hash to commit message * Fix typo * Fix artifact commit message * Move git hash * Use GITHUB_SHA variable * Drop markdown format --------- Co-authored-by: jgromes <jan.gromes>
13 lines
234 B
Bash
Executable file
13 lines
234 B
Bash
Executable file
#!/bin/bash
|
|
|
|
board=$1
|
|
sketch=$2
|
|
flags=$3
|
|
warnings="all"
|
|
|
|
arduino-cli compile \
|
|
--libraries ../../../../ \
|
|
--fqbn $board \
|
|
--build-property compiler.cpp.extra_flags="$flags" \
|
|
--warnings=$warnings \
|
|
$sketch --export-binaries
|