Commit Graph

13 Commits

Author SHA1 Message Date
Scott Shawcroft
981e3705b8
Pass ci_fetch_deps.py the sha rather than ref
The remote ref may be out of date and not get the right branch
history in some cases. actions/checkout also fetches based on sha
2021-12-07 15:57:06 -08: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
77889fe70c
clone repo before installing deps
closes #4524
2021-04-01 18:00:56 +05:30
Scott Shawcroft
4aea7f8f52
Add requirements-dev.txt for python deps 2021-03-19 15:22:23 -07:00
Jeff Epler
a0d305042c fix ubuntu-latest stragglers 2020-11-17 09:02:30 -06:00
Diego Elio Pettenò
34b4993d63 Add license to some obvious files. 2020-07-06 19:16:25 +01:00
Jeff Epler
03c04e77ae actions: Try checkout v2.2.0
This version is supposed to
> Fetch all history for all tags and branches when fetch-depth=0

We leave the tags fetch in place so that actions _in cloned repos_
work.  Cloned repos' tags do not necessarily match adafruit/circuitpython,
but we want version reporting to be able to use adafruit/circuitpython
tags when they are most relevant according to "git describe"'s heuristics.

Submodules are different, as they always point to the repo specified
in .gitmodules, so they don't need special handling to get the most
relevant tags.
2020-06-14 19:01:52 -05:00
Diego Elio Pettenò
dd5d7c86d2 Fix up end of file and trailing whitespace.
This can be enforced by pre-commit, but correct it separately to make it easier to review.
2020-06-03 10:56:35 +01:00
Jeff Epler
f817bfe3c6 switch to checkout@v2 with submodules and fetch-depth 0
In order to get tags, including in submodules, we use our own fetching
procedure on top of checkout@v2.

A problem occuring in about 1% of jobs was that some submodules inexplicably
did not have an "origin" remote configured.  "git submodule sync"
configures the "origin" remote in those cases.  No cause for the problem
was determined.

Besides keeping up to date on actions/checkout, @v2 is supposed to fix a bug
where "re-run" of a pull request would fail checking out the code.
2020-04-11 17:29:07 -05:00
Jeff Epler
ffe73a4c3f workflows: use current (3.8) python
now the need for 3.5 has been fixed
2020-04-01 16:31:33 -05:00
Scott Shawcroft
6aad70b109
Switch to the new release event type filter
Fixes #2201
2019-10-14 20:16:59 -07:00
Scott Shawcroft
4651f91f94
Swap to Blinka access token to hopefully not hit rate limit 2019-09-03 14:50:33 -07:00
Scott Shawcroft
6106909c10
Swap the CI to GitHub Actions from Travis 2019-08-27 19:53:54 -07:00