stijn
37c2f507a0
github/workflows: Add workflow to verify commit message format.
...
Using the new tools/verifygitlog.py script.
2021-01-30 14:09:21 +11:00
Damien George
b8f4c623f9
github/workflows: Add CI workflow for rp2 port.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-01-30 00:42:29 +11:00
Damien George
5d68b5e22c
tools/ci.sh: For ci_code_size_setup, update apt to install gcc-multilib.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-01-29 23:57:10 +11:00
Damien George
203e1d2a65
tools/ci.sh: For code size build, fetch history of master branch only.
...
It's not necessary to fetch all branches.
Signed-off-by: Damien George <damien@micropython.org>
2021-01-24 15:02:20 +11:00
Damien George
de2374cdc6
tools/ci.sh: Pip install pyhy for stm32 builds.
...
Signed-off-by: Damien George <damien@micropython.org>
2021-01-18 12:43:01 +11:00
Damien George
ee52f89224
tools/ci.sh: Use pip-install to get latest version of esptool.py.
...
Because the version included in xtensa-lx106-elf-standalone.tar.gz needs
Python 2 (and pyserial for Python 2).
Signed-off-by: Damien George <damien@micropython.org>
2020-12-14 13:09:33 +11:00
Damien George
69262a11dc
tools/ci.sh: Put echo of CI path in a separate function.
...
Because the setup functions may print other information which should not be
added to the path.
Signed-off-by: Damien George <damien@micropython.org>
2020-12-14 13:05:43 +11:00
Damien George
cb1bb7592e
stm32/Makefile: Change -O0 to -Og for DEBUG=1 builds.
...
The -Og optimisation level produces a more realistic build, gives a better
debugging experience, and generates smaller code than -O0, allowing debug
builds to fit in flash.
This commit also assigns variables in can.c to prevent warnings when -Og is
used, and builds a board in CI with DEBUG=1 enabled.
Signed-off-by: Damien George <damien@micropython.org>
2020-12-07 22:27:38 +11:00
Damien George
547e8a9fe7
tools/ci.sh: Add helper script to run CI tasks.
...
The aim is for this script to be used on any CI platform, as well as run
locally.
Signed-off-by: Damien George <damien@micropython.org>
2020-11-29 22:21:28 +11:00