Commit graph

28 commits

Author SHA1 Message Date
Zoltán Vörös
844f6e5e1e
fix type inference
* fix type inference

* make checks inclusive for negative values of integers

* move to newer version of ubuntu

* fix iterator macros

* fix iterator macros
2025-06-06 21:29:41 +02:00
Philip Howard
6fb60ef9cf
CI: Update some deprecated dependency versions (#669)
* CI: Bump various build workflow versions.

* CI: Continue other jobs on failure.

Give a more complete overview of failures, rather than forcing the developer to play whack-a-mole.

* CI: Do not modify unix mpconfigport.h.

Since `MICROPY_PY_UHASHLIB` does not occur in unix/mpconfigport.h this would have simply
duplicated the config file and supplied it as `MP_CONFIGFILE` triggering a bug in how this
define is handled.
2024-06-06 21:54:24 +02:00
d025aa3cf6
Per github docs, run apt-get update (#637)
https://docs.github.com/en/actions/using-github-hosted-runners/customizing-github-hosted-runners
2023-07-17 10:10:23 +02:00
Zoltán Vörös
73dbbf79bb
add the out keyword argument to universal functions (#621)
* add optional out keyword argument to math functions

* fix the keyword handling in sqrt

* run micropython build on ubuntu 20.04 instead of latest

* fix unused variable error in vector_generic_vector
2023-05-28 17:33:24 +02:00
155dad9994
Use python 3.10 during ci (#558)
CircuitPython now requires 3.9 as a minumum
2022-11-06 10:39:10 +01:00
Damien George
1347694672
Fix build for MICROPY_OBJ_REPR_D configurations (#531)
* Fix use of object pointers so code builds with MICROPY_OBJ_REPR_D

Signed-off-by: Damien George <damien.p.george@gmail.com>

* Fix use of float constants so they work with MICROPY_OBJ_REPR_D

Signed-off-by: Damien George <damien.p.george@gmail.com>

* Use new float-const macros to simplify definitions of e,inf,nan,pi.

Signed-off-by: Damien George <damien.p.george@gmail.com>

* Add support for MICROPY_OBJ_REPR_C

Signed-off-by: Damien George <damien.p.george@gmail.com>

* Add unix-nanbox build to build.sh script

Building nanbox requires gcc-multilib because it forces 32-bit mode.

Signed-off-by: Damien George <damien.p.george@gmail.com>

* Bump version to 5.0.8

Signed-off-by: Damien George <damien.p.george@gmail.com>
2022-07-06 20:38:20 +02:00
15d9df16ee
update cp pip dependencies 2022-04-17 15:28:11 -05:00
d1d825b11d use ubuntu-latest for building micropython
This is what micropython uses now.
2021-10-16 15:59:09 -05:00
f64d2760d6 Update macOS version
During CI, the following diagnostic is shown:
> The macOS virtual environment has been updated to Catalina (v10.15). Please
> update your workflow and change the line 'runs-on: macOS-10.14' to 'runs-on:
> macOS-latest'

The advice seems dubious, since it will then automatically update to some other
macos version without warning, but follow it anyway.
2021-07-23 09:27:23 -05:00
ecf579ecb3 build 1d for CI 2021-07-23 09:21:20 -05:00
b6abde70bc workflows: Build with 2, 3, and 4 dimensions
1d doesn't seem to work at the moment:
```
/home/jepler/src/ulab/code/numpy/numerical.c:324:100: error: macro "RUN_MEAN_STD1" passed 7 arguments, but takes just 6
  324 | p_float_t, array, farray, _shape_strides, MICROPY_FLOAT_CONST(0.0), 0);
      |                                                                      ^
```
2021-07-22 14:15:37 -05:00
Jeff Epler
0cdea5ebac bump ubuntu version to the same as circuitpython uses 2021-07-22 08:22:39 -05:00
Jeff Epler
f3d0639ee6 Fix python version in a message to match what is installed 2021-07-22 08:19:36 -05:00
9b082fc4d9 Build on changes to build scripts or requirements 2021-05-10 10:42:26 -05:00
Jeff Epler
d9082f86ed workflows: Add CircuitPython check-stubs & doc building to CI 2021-04-04 20:20:57 -05:00
Jeff Epler
25c8701d75 workflows: Reenable CI against CircuitPython (main branch) 2021-04-04 20:03:30 -05:00
Zoltán Vörös
5a491d4c5d commented out circuitpython build instructions 2021-01-15 16:25:06 +01:00
Zoltán Vörös
b26c3754c5 pulled in workflow files from master 2021-01-15 16:20:35 +01:00
Zoltán Vörös
b7f2cf0193 unpinned micropython v.1.13 2020-11-21 08:41:27 +01:00
9e24593e94 pin micropython 1.13 for tests 2020-11-18 15:28:06 -06:00
57ab95cc70 Add scripts and CI for ulab-circuitpython
This will check
 - that the unix port builds and passes its tests
 - that the doc build succeeds
2020-10-24 15:50:15 -05:00
d3b9096790 github actions: Fix paths directives
I noticed on #122 that no actions were run.  I believe this is because
the paths directives had no wildcards, contrary to the examples at
https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths

Eliminating the paths: restrictions entirely may be an equally valid
course of action.
2020-06-01 10:28:48 -05:00
Zoltán Vörös
34c2355a2a tried to fix workflow file 2020-03-07 09:36:10 +01:00
Zoltán Vörös
0faa89e3a5 tried to fix workflow file 2020-03-07 09:33:48 +01:00
Zoltán Vörös
c0979509b4 run CI only for changes in code/, and tests/ 2020-03-07 09:31:30 +01:00
a2962f0fe5 fix printing failure info when tests fail 2020-02-18 21:10:33 -06:00
de6b7772e4 fix ci build 2020-02-18 20:50:01 -06:00
a75903efe5 Add github actions
This will build micropython's master branch with ulab support, and
then run the tests in tests/

At this time, there's only one test and it's not very useful.
2020-02-15 19:57:50 -06:00