Skip to content

Commit 0be390e

Browse files
committed
ci: update workflows names and add more badges
Fix workflows names on yaml root to be able to use them to refer to the workflow. Add badges for pypi, workflows and license. Signed-off-by: Fabio Utzig <[email protected]>
1 parent 395a9f9 commit 0be390e

File tree

4 files changed

+19
-6
lines changed

4 files changed

+19
-6
lines changed

.github/workflows/imgtool.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,20 @@ on:
33
branches:
44
- master
55

6+
name: imgtool
7+
68
jobs:
79
environment:
8-
name: Publish imgtool releases
910
runs-on: ubuntu-latest
1011
steps:
1112
- uses: actions/checkout@v2
1213
with:
1314
fetch-depth: 0
14-
- name: Install publishing packages
15+
- name: Install packages
1516
run: |
1617
export PATH="$HOME/.local/bin:$PATH"
1718
./ci/imgtool_install.sh
18-
- name: Publish imgtool
19+
- name: Publish
1920
env:
2021
TWINE_TOKEN: ${{ secrets.TWINE_TOKEN }}
2122
run: |

.github/workflows/mynewt.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# For development, trigger this on any push.
22
on: [pull_request]
33

4+
name: Mynewt
5+
46
jobs:
57
environment:
6-
name: Mynewt build
78
runs-on: ubuntu-latest
89
steps:
910
- uses: actions/checkout@v2

.github/workflows/sim.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# For development, trigger this on any push.
22
on: [pull_request]
33

4+
name: Sim
5+
46
jobs:
57
environment:
68
strategy:
@@ -20,7 +22,6 @@ jobs:
2022
- "sig-rsa validate-primary-slot overwrite-only large-write"
2123
- "sig-ecdsa enc-ec256 validate-primary-slot"
2224
- "sig-rsa validate-primary-slot overwrite-only downgrade-prevention"
23-
name: Sim
2425
runs-on: ubuntu-latest
2526
env:
2627
MULTI_FEATURES: ${{ matrix.features }}

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
# [mcuboot](http://mcuboot.com/)
22

3+
[![Package on PyPI](https://img.shields.io/pypi/v/imgtool.svg)][pypi]
34
[![Coverity Scan Build Status](https://scan.coverity.com/projects/12307/badge.svg)][coverity]
4-
[![Build/Test](https://img.shields.io/travis/mcu-tools/mcuboot/master.svg?label=travis-ci)][travis]
5+
[![Build Status (Sim)](https://github.com/mcu-tools/mcuboot/workflows/Sim/badge.svg)][sim]
6+
[![Build Status (Mynewt)](https://github.com/mcu-tools/mcuboot/workflows/Mynewt/badge.svg)][mynewt]
7+
[![Publishing Status (imgtool)](https://github.com/mcu-tools/mcuboot/workflows/imgtool/badge.svg)][imgtool]
8+
[![Build Status (Travis CI)](https://img.shields.io/travis/mcu-tools/mcuboot/master.svg?label=travis-ci)][travis]
9+
[![Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)][license]
510

11+
[pypi]: https://pypi.org/project/imgtool/
612
[coverity]: https://scan.coverity.com/projects/mcuboot
13+
[sim]: https://github.com/mcu-tools/mcuboot/actions?query=workflow:.github/workflows/sim.yaml
14+
[mynewt]: https://github.com/mcu-tools/mcuboot/actions?query=workflow:.github/workflows/mynewt.yaml
15+
[imgtool]: https://github.com/mcu-tools/mcuboot/actions?query=workflow:.github/workflows/imgtool.yaml
716
[travis]: https://travis-ci.org/mcu-tools/mcuboot
17+
[license]: https://github.com/mcu-tools/mcuboot/blob/master/LICENSE
818

919
This is mcuboot version 1.7.0-rc2
1020

0 commit comments

Comments
 (0)