Skip to content

Commit

Permalink
circleci light build for merged commit to master
Browse files Browse the repository at this point in the history
  • Loading branch information
hathach committed May 15, 2024
1 parent 83499a2 commit 5027821
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .circleci/config.yml
Expand Up @@ -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:
Expand Down

0 comments on commit 5027821

Please sign in to comment.