Commit Graph

528 Commits

Author SHA1 Message Date
MicroDev
5168e96d0c
fix docs upload to aws 2023-02-15 10:56:06 +05:30
MicroDev
50c52fca88
split raspberrypi and refactor espressif 2023-02-14 20:38:14 +05:30
MicroDev
65e9d937ac
use python based msgfmt 2023-02-13 11:22:35 +05:30
MicroDev
d959ef1e5b
use venv to cache python deps 2023-02-11 14:09:32 +05:30
MicroDev
70a4efc08a
use composite action for aws s3 upload 2023-02-10 23:24:46 +05:30
MicroDev
17e03c4768
ci max parallelism 2023-02-10 21:32:23 +05:30
MicroDev
23bb17c240
use composite actions and reusable workflow 2023-02-10 17:14:21 +05:30
MicroDev
baaa2362c2
use already built mpy-cross 2023-02-10 16:38:25 +05:30
Dan Halbert
cc822e0d8d
Merge pull request #7499 from MicroDev1/ci
Use composite action for fetching submodules
2023-01-28 16:10:23 -05:00
MicroDev
fc0bd6b7eb
use composite action for fetching submodules 2023-01-28 15:41:11 +05:30
Alec Delaney
ab0cbb5a04 Update notification workflow 2023-01-27 13:56:35 -05:00
MicroDev
39b4f26932
update ci 2023-01-21 11:01:09 +05:30
MicroDev
f36c862cab
refactor stuff in ci 2023-01-18 12:12:54 +05:30
MicroDev
3b2fe1510e
cache idf and its submodules 2023-01-16 20:42:38 +05:30
MicroDev
bad80ef703
fix idf submodules init 2023-01-16 18:03:29 +05:30
MicroDev
1e2d0a4be8
gettext is pre-installed on mac 2023-01-16 17:13:19 +05:30
MicroDev
fd3faa4a05
only install awscli when required 2023-01-16 17:03:39 +05:30
MicroDev
03804e6ec1
refactor and alphabetically arrange matrix jobs 2023-01-14 20:42:58 +05:30
MicroDev
434c2355a0
multiple ci enhancements
- selectively fetch submodule tags
- conditionally build mpy-cross
- remove frozen from submodule cache
2023-01-14 17:10:40 +05:30
MicroDev
6bc0274aec
cache common submodules and share cp version 2023-01-14 10:58:04 +05:30
MicroDev
ad4357d152
use pr head ref and not the merge ref 2023-01-11 19:22:07 +05:30
MicroDev
722a313cc1
set base and head commit only when the event is a pr 2023-01-07 21:13:07 +05:30
MicroDev
f0e7e3115a
refactor how base and head commit are set
- avoid `github.event.after` as it isn't available during initial CI run of the PR
2023-01-07 21:03:16 +05:30
MicroDev
09adb24284
slightly refactor ci 2023-01-07 18:41:16 +05:30
MicroDev
8096c94e1b
build docs only when //| matches 2023-01-07 18:17:48 +05:30
MicroDev
03d4d63ab5
simplify fetching changed files 2023-01-07 17:48:39 +05:30
MicroDev
a97d8e97ad
update tj-actions/changed-files to v34 2023-01-05 12:00:46 +05:30
MicroDev
b01bf1e16c
revert fetch-depth setting in ci 2022-12-12 02:10:01 +05:30
MicroDev
53e1416484
downgrade and lock tj-actions/changed-files at v34.5.1 2022-12-12 02:09:08 +05:30
MicroDev
628865b235
change fetch-depth setting in ci 2022-12-11 20:49:00 +05:30
MicroDev
fa14307c7d
update tj-actions/changed-files to v34.5.3 2022-12-11 20:19:43 +05:30
Dan Halbert
845b68c351
Merge pull request #7204 from jepler/build-python3x
return to using python 3.x for builds
2022-11-30 15:18:29 -05:00
MicroDev
7ea563e661
fix json parse issue 2022-11-19 23:29:05 +05:30
MicroDev
e4f5ca11f9
compare against pr head commit instead of merge ref 2022-11-19 10:51:22 +05:30
Scott Shawcroft
c525322a29
Merge pull request #7132 from MicroDev1/ci
CI: Schedule PR jobs based on commit specific changes
2022-11-17 10:37:07 -08:00
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
30f07fbf22
schedule pr jobs based on commit specific changes 2022-10-26 23:19:13 +05:30
microDev
e5139e2040
update to newer actions 2022-10-11 10:45:22 +05:30
Jeff Epler
62aa7dfcdb
Revert "pin python version for doc building"
This reverts commit 645cb6c2a5.
2022-09-27 08:20:44 -05:00
Jeff Epler
645cb6c2a5
pin python version for doc building 2022-09-25 12:22:50 -05:00
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
Dan Halbert
cfa7de7592 fix name for macOS mpy-cross universal build 2022-07-28 18:14:32 -04:00
Dan Halbert
db6c9836b0 don't need to select macOS sdk any more 2022-07-27 22:28:00 -04:00
Dan Halbert
0a6f9112b1 update mpy-cross macOS build to macos 11; make macos mpy-cross names consistent 2022-07-27 14:50:57 -04:00
Jeff Epler
7608d90fcb
Use arm-none-eabi-gcc-action 2022-06-28 18:43:19 -05:00
Jeff Epler
da26c9ce82
use setup-python v4 for python-path support 2022-06-17 16:21:27 +02:00
Jeff Epler
8ed791060c
include python executable path in the idf key
I noticed that the latest time we needed to switch the idf key was when
the environment changed from python 3.10.4 to 3.10.5. I don't know if
this is the only cause of needing to change the key, but it seems to be
a good idea to make the key include it.

I think this is what's going on because when I replaced a virtualenv's
"python" with a dangling symlink (same as would occur when python's
version gets bumped), I got a similar error.
2022-06-16 21:10:19 +02:00
Dan Halbert
814640e25a run circuitpython.org website PR action with adafruit-adabot instead of adafruit-blinka 2022-05-03 16:29:54 -04:00
Dan Halbert
c3539f0948
bump espressif CI cache id 2022-04-05 09:12:02 -04:00