Commit Graph

52 Commits

Author SHA1 Message Date
Dan Halbert
24ae0c4c73 use raw string for grep regexp 2023-11-10 22:42:42 -05:00
Jeff Epler
8b84edfdde
ci_set_matrix: no need to expand the value of CIRCUITPY_WEB_WORKFLOW
This is now done by the way shared_bindings_matrix.py invokes make.
2023-09-27 21:36:35 -05:00
Jeff Epler
e40abda1bc
ci_set_matrix: Don't use .get(), it hides errors
Variables that are explicitly fetched always have a value, even if it
is the empty value. However, using .get() hid the error that
shared_bindings_matrix wasn't fetching SRC_SUPERVISOR.
2023-09-27 21:36:34 -05:00
Jeff Epler
e44c2c06f4
Merge remote-tracking branch 'origin/8.2.x' into merge-82x 2023-08-28 08:30:30 -05:00
Jeff Epler
9064c6e7cb
ci_set_matrix: changing conf.py should not rebuild all boards 2023-08-23 07:22:28 -05:00
Jeff Epler
3cd667a0a1
Ensure doc build is tested when a Makefile or .mk file is changed
This can affect whether the shared-bindings-matrix works, as in the
case of this PR.
2023-08-21 20:58:12 -05:00
Radomir Dopieralski
b93b1d0e75 Fix the SRC_SUPERVISOR setting check 2023-08-20 01:20:05 +02:00
MicroDev
4a6965ee76
change condition to run all jobs 2023-03-21 22:33:13 +05:30
MicroDev
395bc0aac7
don't run all jobs if changed files is empty 2023-03-21 16:11:57 +05:30
MicroDev
3a4bffdd65
use correct commits for diff 2023-03-12 09:44:13 +05:30
MicroDev
ec74be7cb4
use set for changed_files and minor updates 2023-03-11 14:28:29 +05:30
MicroDev
29cee603d3
update .readthedocs.yml and add it to docs pattern 2023-03-11 11:56:04 +05:30
MicroDev
a6400fb08a
use intersection of changes per commit and merge ref 2023-03-11 00:26:34 +05:30
MicroDev
91d4fed01d
explicitly check for failure of certain jobs 2023-03-10 16:41:13 +05:30
MicroDev
03bb7ff652
refactor boards / build to ports / board 2023-03-07 03:22:31 +05:30
MicroDev
055c9bfb40
split boards dynamically 2023-03-04 12:10:36 +05:30
MicroDev
0e17deff05
ci fix scheduler 2023-02-24 11:41:41 +05:30
MicroDev
60a9c7e5b2
move windows workflow to build ci and more 2023-02-23 14:39:37 +05:30
MicroDev
592fea6822
split atmel-samd instead of raspberrypi 2023-02-22 20:08:13 +05:30
MicroDev
dc80133d7e
re-enable changes per commit 2023-02-18 16:29:59 +05:30
MicroDev
50c52fca88
split raspberrypi and refactor espressif 2023-02-14 20:38:14 +05:30
MicroDev
baaa2362c2
use already built mpy-cross 2023-02-10 16:38:25 +05:30
MicroDev
4a9d934008
escape . and / in regex 2023-01-11 20:56:53 +05:30
MicroDev
645499e819
check //| only after a file matches the doc pattern 2023-01-11 11:52:19 +05:30
MicroDev
565bbd5002
fix path in set_docs_to_build 2023-01-08 13:23:51 +05:30
MicroDev
8096c94e1b
build docs only when //| matches 2023-01-07 18:17:48 +05:30
Bernhard Bablok
868a98323a added comment for IGNORE_DIRS 2022-12-21 15:18:33 +01:00
Bernhard Bablok
f97925c66c ignore .devcontainer/* 2022-12-21 13:27:23 +01:00
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
Jeff Epler
dec802a73b
build docs when .github/workflows changes
Closes: #7205
2022-11-13 13:26:46 -06:00
microDev
30f07fbf22
schedule pr jobs based on commit specific changes 2022-10-26 23:19:13 +05:30
Jeff Epler
d08b43f704
We refer to port multiple times, make it convenient 2022-10-14 11:33:04 -05:00
Jeff Epler
641a398a54
only build subset of boards for bindings changes 2022-10-14 11:33:03 -05:00
Jeff Epler
3b600ac9b3
Potentially compute settings of fewer boards
.. when the file is within ports, just get the settings for boards
within the port
2022-10-14 11:33:03 -05:00
Jeff Epler
ad130e87f0
Parallelize finding board settings
This reduces the _elapsed_ time running the script from ~90s to ~15s
on my AMD Ryzen 7 5700U. The CPU time is still around 2 minutes.
2022-10-14 11:33:03 -05:00
Jeff Epler
cab4063057
Make it easier to locally test ci_set_matrix
Now you can e.g., `tools/ci_set_matrix.py ports/raspberrypi/mpconfigport.h`
and see what outputs would be set.
2022-10-14 11:33:02 -05:00
Jeff Epler
81154b4ee6
Revert "don't build other ports due to common-hal changes"
This reverts commit 91985cef7e.
2022-10-14 11:32:58 -05:00
Dan Halbert
91985cef7e don't build other ports due to common-hal changes 2022-10-14 11:26:37 -04:00
Jeff Epler
a31ad57225
Use non-deprecated way to set build outputs
see https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
2022-10-12 13:45:30 -05:00
Scott Shawcroft
9c6c8b5d62
Don't build boards for docs changes 2022-08-10 16:31:50 -07:00
Scott Shawcroft
bb734c75d7
Improve build matrix computation
If a changed file is in frozen, supervisor, shared-bindings,
shared-module or common-hal, then compute board settings to
determine if it is impacted.

This should reduce the boards built for changes that are in those
directories.
2022-07-26 15:33:13 -07:00
Jeff Epler
bd282bb1be
do not backslash-escape forward slashes 2021-12-17 09:34:47 -06:00
Jeff Epler
da4f5bdaef
fix ci matrix when ulab is modified
When the submodule is modified, the modified 'filename' is simply the
submodule path `extmod/ulab`, not the specific file(s) in the submodule
that are modified.
2021-12-17 09:32:53 -06:00
Dan Halbert
dcc61d3532 remove whitespace 2021-12-13 15:44:55 -05:00
Scott Shawcroft
d14868d540 Exclude ci checks and tests from building boards 2021-12-13 15:44:55 -05: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
Jeff Epler
6afe732151
changes in ports/unix don't trigger any board builds 2021-11-12 13:09:33 -06:00
Jeff Epler
30f3cf31e2 account for deleted boards 2021-10-26 14:06:07 -05:00
microDev
6c94234b72
allow any character except / in port or board name 2021-10-22 20:08:02 +05:30