Skip to content

Commit 45c39c8

Browse files
author
Qinghao Shi
authored
update CI steps with names (#114)
1 parent 334944d commit 45c39c8

File tree

1 file changed

+25
-16
lines changed

1 file changed

+25
-16
lines changed

.circleci/config.yml

Lines changed: 25 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,32 @@ jobs:
1212
path: sinppet/TESTS
1313

1414
### Repo structure Tests ###
15-
- run: |
16-
cd sinppet/TESTS
17-
python3 .circleci/repo_checks.py
15+
- run:
16+
name: Repo structure Tests
17+
command: |
18+
cd sinppet/TESTS
19+
python3 .circleci/repo_checks.py
1820
1921
### Astyle Tests ###
20-
- run: |
21-
cd sinppet/TESTS
22-
wget https://github.com/ARMmbed/mbed-os/raw/master/.astylerc
23-
git --no-pager diff --name-only --diff-filter=dr $(git merge-base --fork-point origin/master) HEAD | ( grep '.\(c\|cpp\|h\|hpp\)$' || true ) | while read file; do astyle -n --options=.astylerc "${file}"; done
24-
git diff --exit-code --diff-filter=dr --color
22+
- run:
23+
name: Astyle Tests
24+
command: |
25+
cd sinppet/TESTS
26+
wget https://github.com/ARMmbed/mbed-os/raw/master/.astylerc
27+
git --no-pager diff --name-only --diff-filter=dr $(git merge-base --fork-point origin/master) HEAD | ( grep '.\(c\|cpp\|h\|hpp\)$' || true ) | while read file; do astyle -n --options=.astylerc "${file}"; done
28+
git diff --exit-code --diff-filter=dr --color
2529
2630
### Compile Tests ###
27-
- run: mv sinppet/TESTS/mbed-os.lib .
28-
- run: git clone https://github.com/ARMmbed/mbed-os.git mbed-os
29-
- run: |
30-
mbed config root .
31-
mbed update
32-
mbed add https://github.com/c1728p9/AudioPlayer
33-
mbed add https://github.com/ARMmbed/mbed-nfc-m24sr
34-
mbed test --compile -m K64F -t GCC_ARM -n sinppet-* --app-config=sinppet/TESTS/test.json -v
31+
- run:
32+
name: Checkout mbed OS and libraries
33+
command: |
34+
mv sinppet/TESTS/mbed-os.lib .
35+
git clone https://github.com/ARMmbed/mbed-os.git mbed-os
36+
mbed config root .
37+
mbed update
38+
mbed add https://github.com/c1728p9/AudioPlayer
39+
mbed add https://github.com/ARMmbed/mbed-nfc-m24sr
40+
- run:
41+
name: Compile Tests
42+
command: |
43+
mbed test --compile -m K64F -t GCC_ARM -n sinppet-* --app-config=sinppet/TESTS/test.json -v

0 commit comments

Comments
 (0)