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

github.com/littlefs-project/littlefs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Haster <chaster@utexas.edu>2021-01-18 21:23:25 +0300
committerChristopher Haster <chaster@utexas.edu>2021-01-18 21:23:25 +0300
commitbca64d76cfca80675e78c58c736c38bb43ece86b (patch)
treeb7cdb1e66a1f74fd305020832bdf581c3474b135 /.github/workflows/release.yml
parent6592719d28d8f3af931680cc04f77cf855a0b3b8 (diff)
parentcab1d6cca63b922c89aaa23dcc74a4c90c794077 (diff)
Merge branch 'devel' into ci-revamp
Needed to bring in new "error-asserts" configuration
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml17
1 files changed, 14 insertions, 3 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 460ac60..a1a1a43 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -96,7 +96,7 @@ jobs:
| capture("Code size is (?<result>[0-9]+)").result' \
prev-results.json || echo 0)"
./scripts/code.py -u results/code-thumb-readonly.csv -s | awk '
- NR==2 {printf "Code size (readonly),%d B",$2}
+ NR==2 {printf "Code size<br/>(readonly),%d B",$2}
NR==2 && ENVIRON["PREV"]+0 != 0 {
printf " (%+.1f%%)",100*($2-ENVIRON["PREV"])/ENVIRON["PREV"]}
NR==2 {printf "\n"}' \
@@ -107,7 +107,7 @@ jobs:
| capture("Code size is (?<result>[0-9]+)").result' \
prev-results.json || echo 0)"
./scripts/code.py -u results/code-thumb-threadsafe.csv -s | awk '
- NR==2 {printf "Code size (threadsafe),%d B",$2}
+ NR==2 {printf "Code size<br/>(threadsafe),%d B",$2}
NR==2 && ENVIRON["PREV"]+0 != 0 {
printf " (%+.1f%%)",100*($2-ENVIRON["PREV"])/ENVIRON["PREV"]}
NR==2 {printf "\n"}' \
@@ -118,7 +118,18 @@ jobs:
| capture("Code size is (?<result>[0-9]+)").result' \
prev-results.json || echo 0)"
./scripts/code.py -u results/code-thumb-migrate.csv -s | awk '
- NR==2 {printf "Code size (migrate),%d B",$2}
+ NR==2 {printf "Code size<br/>(migrate),%d B",$2}
+ NR==2 && ENVIRON["PREV"]+0 != 0 {
+ printf " (%+.1f%%)",100*($2-ENVIRON["PREV"])/ENVIRON["PREV"]}
+ NR==2 {printf "\n"}' \
+ >> results.csv)
+ [ -e results/code-thumb-error-asserts.csv ] && ( \
+ export PREV="$(jq -re '
+ select(.context == "results / code (error-asserts)").description
+ | capture("Code size is (?<result>[0-9]+)").result' \
+ prev-results.json || echo 0)"
+ ./scripts/code.py -u results/code-thumb-error-asserts.csv -s | awk '
+ NR==2 {printf "Code size<br/>(error-asserts),%d B",$2}
NR==2 && ENVIRON["PREV"]+0 != 0 {
printf " (%+.1f%%)",100*($2-ENVIRON["PREV"])/ENVIRON["PREV"]}
NR==2 {printf "\n"}' \