circleci light build for merged commit to master

This commit is contained in:
hathach 2024-05-15 16:20:01 +07:00
parent 83499a2cd0
commit 50278211f4
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52

View File

@ -91,7 +91,13 @@ jobs:
family: << parameters.family >>
- run:
name: Build
command: python tools/build.py -s << parameters.build-system >> --toolchain clang << parameters.family >>
command: |
# Only build one board per family for non PRs i.e commit to master
ONE_PER_FAMILY=""
if [ -z "$CIRCLE_PULL_REQUEST" ]; then
ONE_PER_FAMILY="--one-per-family"
fi
python tools/build.py $ONE_PER_FAMILY -s << parameters.build-system >> --toolchain clang << parameters.family >>
workflows:
build: