mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
tools: Add an environment variable MICROPY_MAINTAINER_BUILD.
This allows us to have some things which are fatal errors in CI or nightly builds, but warnings in normal developer builds. This work was funded through GitHub Sponsors. Signed-off-by: Angus Gratton <angus@redyak.com.au>
This commit is contained in:
committed by
Damien George
parent
02b5d42b24
commit
ad22089581
@@ -48,6 +48,9 @@ git -C ${MICROPY_AUTOBUILD_MICROPYTHON_REPO}/lib/pico-sdk submodule update --ini
|
||||
########################################
|
||||
# Build all firmware
|
||||
|
||||
# Fail on some things which are warnings otherwise
|
||||
export MICROPY_MAINTAINER_BUILD=1
|
||||
|
||||
pushd ${MICROPY_AUTOBUILD_MICROPYTHON_REPO}
|
||||
|
||||
# build cross compiler
|
||||
|
||||
@@ -9,6 +9,9 @@ fi
|
||||
# Ensure known OPEN_MAX (NO_FILES) limit.
|
||||
ulimit -n 1024
|
||||
|
||||
# Fail on some things which are warnings otherwise
|
||||
export MICROPY_MAINTAINER_BUILD=1
|
||||
|
||||
########################################################################################
|
||||
# general helper functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user