ci: Makes build parallel to speed up ci

This commit is contained in:
Euripedes Rocha Filho
2025-09-28 19:55:31 +02:00
parent 5800ec1b06
commit 57f729ec66

View File

@@ -7,11 +7,33 @@
- build
- internet
timeout: 1h
# rules:
# # Run build jobs only when source or build configuration changes
# - changes:
# - examples/**/*
# - test/apps/**/*
# - include/**/*
# - lib/**/*
# - mqtt_client.c
# - mqtt5_client.c
# - Kconfig
# - idf_component.yml
# - .build-test-rules.yml
# - .idf_build_apps.toml
# - .idf_ci.toml
# - when: never
parallel:
matrix:
- PATHS:
- "-p examples/tcp -p examples/mqtt5"
- "-p examples/ws -p examples/wss"
- "-p examples/ssl -p examples/ssl_mutual_auth"
- "-p examples/ssl_psk -p examples/ssl_ds -p examples/custom_outbox"
- "-p test/apps"
script:
- pip install -U 'idf-ci<1'
- idf-ci build run
--parallel-count ${CI_NODE_TOTAL:-1}
--parallel-index ${CI_NODE_INDEX:-1}
- echo "Running idf-ci build run ${PATHS}"
- idf-ci build run ${PATHS}
build_idf_v5.3:
extends: .build_template