Commit 0be390e0 authored by Fabio Utzig's avatar Fabio Utzig Committed by Fabio Utzig
Browse files

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: default avatarFabio Utzig <fabio.utzig@nordicsemi.no>
parent 395a9f9c
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -3,19 +3,20 @@ on:
    branches:
      - master

name: imgtool

jobs:
  environment:
    name: Publish imgtool releases
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - name: Install publishing packages
    - name: Install packages
      run: |
        export PATH="$HOME/.local/bin:$PATH"
        ./ci/imgtool_install.sh
    - name: Publish imgtool
    - name: Publish
      env:
        TWINE_TOKEN: ${{ secrets.TWINE_TOKEN }}
      run: |
+2 −1
Original line number Diff line number Diff line
# For development, trigger this on any push.
on: [pull_request]

name: Mynewt

jobs:
  environment:
    name: Mynewt build
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
+2 −1
Original line number Diff line number Diff line
# For development, trigger this on any push.
on: [pull_request]

name: Sim

jobs:
  environment:
    strategy:
@@ -20,7 +22,6 @@ jobs:
        - "sig-rsa validate-primary-slot overwrite-only large-write"
        - "sig-ecdsa enc-ec256 validate-primary-slot"
        - "sig-rsa validate-primary-slot overwrite-only downgrade-prevention"
    name: Sim
    runs-on: ubuntu-latest
    env:
      MULTI_FEATURES: ${{ matrix.features }}
+11 −1
Original line number Diff line number Diff line
# [mcuboot](http://mcuboot.com/)

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

[pypi]: https://pypi.org/project/imgtool/
[coverity]: https://scan.coverity.com/projects/mcuboot
[sim]: https://github.com/mcu-tools/mcuboot/actions?query=workflow:.github/workflows/sim.yaml
[mynewt]: https://github.com/mcu-tools/mcuboot/actions?query=workflow:.github/workflows/mynewt.yaml
[imgtool]: https://github.com/mcu-tools/mcuboot/actions?query=workflow:.github/workflows/imgtool.yaml
[travis]: https://travis-ci.org/mcu-tools/mcuboot
[license]: https://github.com/mcu-tools/mcuboot/blob/master/LICENSE

This is mcuboot version 1.7.0-rc2