Commit Graph

17 Commits

Author SHA1 Message Date
Jeff Epler
b8f5def985
return to using python 3.x for builds 2022-11-13 09:26:49 -06:00
Jeff Epler
91da267a87
Pin python version 3.10 for builds
Python 3.11 started to roll out to github actions, and .. it doesn't work.
This MAY affect just the espressif build, but I'm pinning it back at 3.10
for all builds.

Typical failure, during "Run $IDF_PATH/tools/idf_tools.py --non-interactive install required"
shows a lot of failures building gevent:
```
...
Collecting gevent<2.0,>=1.2.2
  Downloading gevent-1.5.0.tar.gz (5.3 MB)
...
  Building wheel for gevent (pyproject.toml): finished with status 'error'
...
      src/gevent/_greenlet_primitives.c:216:12: fatal error: longintrepr.h: No such file or directory
        216 |   #include "longintrepr.h"
            |            ^~~~~~~~~~~~~~~
      compilation terminated.
      error: command '/usr/bin/gcc' failed with exit code 1
```

I notice that gevent is pinned at <2.0 while the current version is 22.10.2!
This is a dependency of gdbgui==0.13.2.0, which is installed by esp-idf
pinned at that version.
2022-11-02 19:23:52 -05:00
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