Skip to content

Commit

Permalink
Added BUILDDIR, a bit of script reworking
Browse files Browse the repository at this point in the history
Now littlefs's Makefile can work with a custom build directory
for compilation output. Just set the BUILDDIR variable and the Makefile
will take care of the rest.

make BUILDDIR=build size

This makes it very easy to compare builds with different compile-time
configurations or different cross-compilers.

This meant most of code.py's build isolation is no longer needed,
so revisted the scripts and cleaned/tweaked a number of things.

Also bought code.py in line with coverage.py, fixing some of the
inconsistencies that were created while developing these scripts.

One change to note was removing the inline measuring logic, I realized
this feature is unnecessary thanks to GCC's -fkeep-static-functions and
-fno-inline flags.
  • Loading branch information
geky committed Jan 10, 2021
1 parent 887f366 commit b84fb6b
Show file tree
Hide file tree
Showing 7 changed files with 575 additions and 502 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:
`${{github.event.workflow_run.id}}/jobs" \
| jq -er '.jobs[]
| select(.name == env.TARGET_JOB)
| .html_url + ((.steps[]
| select(.name == env.TARGET_STEP)
| "#step:\(.number):0") // "")'
)
)"
| .html_url
+ "?check_suite_focus=true"
+ ((.steps[]
| select(.name == env.TARGET_STEP)
| "#step:\(.number):0") // "")'))"
# TODO remove this
# print for debugging
echo "$(jq -nc '{
Expand Down
Loading

0 comments on commit b84fb6b

Please sign in to comment.