Skip to content

Commit 7befa8e

Browse files
committed
Add CircleCI config to test Mbed CLI 1
1 parent 908e263 commit 7befa8e

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.circleci/config.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# CircleCI 2.1 configuration file
2+
#
3+
version: 2.1
4+
commands:
5+
compile:
6+
parameters:
7+
target:
8+
type: string
9+
steps:
10+
- run: |
11+
cd mbed-os-tf-m-regression-tests
12+
python3 test_psa_target.py -t GCC_ARM -m <<parameters.target>> --cli=1 -b
13+
jobs:
14+
build:
15+
docker:
16+
- image: mbedos/mbed-os-env:stable
17+
working_directory: ~
18+
steps:
19+
- checkout:
20+
path: mbed-os-tf-m-regression-tests
21+
- run: |
22+
apt-get update -y
23+
apt-get install -y cmake srecord ninja-build # TF-M dependencies
24+
cd mbed-os-tf-m-regression-tests
25+
git clone --depth=1 --single-branch https://github.com/ARMmbed/mbed-os.git
26+
- compile:
27+
target: "ARM_MUSCA_S1"
28+
- compile:
29+
target: "ARM_MUSCA_B1"

0 commit comments

Comments
 (0)