tools/ci.sh: Add CI for CMake USER_C_MODULE support.

Builds the rp2 port against the example C and CXX modules.

Signed-off-by: Phil Howard <phil@pimoroni.com>
This commit is contained in:
Phil Howard 2021-03-23 12:25:27 +00:00 committed by Damien George
parent 8e5756e2b6
commit 5976ea02a5

View File

@ -181,6 +181,8 @@ function ci_rp2_build {
make ${MAKEOPTS} -C mpy-cross
git submodule update --init lib/pico-sdk lib/tinyusb
make ${MAKEOPTS} -C ports/rp2
make ${MAKEOPTS} -C ports/rp2 clean
make ${MAKEOPTS} -C ports/rp2 USER_C_MODULES=../../examples/usercmodule/micropython.cmake
}
########################################################################################