Commit Graph

15 Commits

Author SHA1 Message Date
microDev e5139e2040
update to newer actions 2022-10-11 10:45:22 +05:30
Jeff Epler 97bd322ff8
Use current ubuntu for pre-commit
This means that the OS version of uncrustify can be used, rather than
the pybricks one.
2022-09-06 21:16:56 -05:00
microDev 036c13a2d5
automatically cancel superseded ci build of pr 2022-01-26 01:10:25 +05:30
Jeff Epler d61d8b1020
set up python 3.x and use setup-python@v2 2021-12-20 19:05:51 -06:00
Timon a1052d5f73
Initial broadcom port for Raspberry Pi
This targets the 64-bit CPU Raspberry Pis. The BCM2711 on the Pi 4
and the BCM2837 on the Pi 3 and Zero 2W. There are 64-bit fixes
outside of the ports directory for it.

There are a couple other cleanups that were incidental:
* Use const mcu_pin_obj_t instead of omitting the const. The structs
  themselves are const because they are in ROM.
* Use PTR <-> OBJ conversions in more places. They were found when
  mp_obj_t was set to an integer type rather than pointer.
* Optimize submodule checkout because the Pi submodules are heavy
  and unnecessary for the vast majority of builds.

Fixes #4314
2021-11-22 14:54:44 -08:00
microDev f2a22bb1b1
upload patch to artifacts if pre-commit fails 2021-10-06 18:51:36 +05:30
Scott Shawcroft 4aea7f8f52
Add requirements-dev.txt for python deps 2021-03-19 15:22:23 -07:00
microDev 090b6ba42f
update pre-commit
- add formatting check
- add translations check
2021-03-15 19:26:29 +05:30
Jeff Epler 66e0f2dcff workflows: use actions/cache@v2 2021-01-29 11:36:27 -06:00
Jeff Epler 288c54c70a need to find strings in ulab 2021-01-08 18:54:08 -06:00
Jeff Epler 96dd3d3fef ensure gettext program is available to pre-commit 2021-01-08 18:21:27 -06:00
Jeff Epler a0d305042c fix ubuntu-latest stragglers 2020-11-17 09:02:30 -06:00
Jeff Epler 3149f5bfd8 workflows: Replace deprecated ::set-env 2020-10-08 16:20:23 -05:00
Scott Shawcroft eeb3825646
Update precommit check branch 2020-06-09 13:04:42 -07:00
Diego Elio Pettenò 79cd86445e Add a pre-commit configuration to enforce basic file hygiene. 2020-06-03 10:56:35 +01:00