Paul Sokolovsky | 4362318 | 2023-04-14 22:59:48 +0300 | [diff] [blame] | 1 | #!/bin/bash |
| 2 | |
| 3 | set -ex |
| 4 | |
| 5 | . tf-ci-scripts/eclair/utils.sh |
| 6 | . tf-m-ci-scripts/eclair/utils_tfm.sh |
| 7 | |
| 8 | num_configs=$(python3 ./tf-m-ci-scripts/configs.py -g "$FILTER_GROUP" | wc -l) |
| 9 | |
| 10 | echo "Number of configs to build: $num_configs" |
| 11 | |
| 12 | cnt=1 |
| 13 | |
| 14 | for cfg in $(python3 ./tf-m-ci-scripts/configs.py -g "$FILTER_GROUP"); do |
| 15 | echo "============== $cfg ($cnt/$num_configs) ==============" |
| 16 | export CONFIG_NAME=$cfg |
| 17 | (cd mbedtls; git checkout .; git clean -fq) |
| 18 | (cd psa-arch-tests; git checkout .; git clean -fq) |
| 19 | (cd trusted-firmware-m; git checkout .; git clean -fq) |
| 20 | eclair_tfm_set_toolchain_path |
| 21 | detachLicense 3000 |
| 22 | tf-m-ci-scripts/run-build.sh |
| 23 | cnt=$((cnt + 1)) |
| 24 | done |