blob: 7d827b5f14b5b85edf4b92089e9290bce3f0bc2f [file] [log] [blame]
Paul Sokolovsky43623182023-04-14 22:59:48 +03001#!/bin/bash
2
3set -ex
4
5. tf-ci-scripts/eclair/utils.sh
6. tf-m-ci-scripts/eclair/utils_tfm.sh
7
8num_configs=$(python3 ./tf-m-ci-scripts/configs.py -g "$FILTER_GROUP" | wc -l)
9
10echo "Number of configs to build: $num_configs"
11
12cnt=1
13
14for 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
Paul Sokolovsky27c87e72024-01-19 00:00:31 +070021 detachLicense 5400
Paul Sokolovsky43623182023-04-14 22:59:48 +030022 tf-m-ci-scripts/run-build.sh
23 cnt=$((cnt + 1))
24done
Paul Sokolovsky27c87e72024-01-19 00:00:31 +070025
26echo "Built $num_configs configs"