2024-11-18 10:13:01 +01:00

35 lines
792 B
YAML

name: Build test application
on:
push:
jobs:
build-cli-v1:
container:
image: ghcr.io/armmbed/mbed-os-env:master-2022.05.21t04.23.55
runs-on: ubuntu-20.04
strategy:
matrix:
target: [DISCO_H747I]
profile: [debug]
tests: [
tests-bike-computer-sensor-device,
tests-bike-computer-speedometer,
tests-bike-computer-bike-system,
]
steps:
-
name: checkout
uses: actions/checkout@v2
-
name: build-test
run: |
set -e
mbed deploy
mbed test -t GCC_ARM -m ${{ matrix.target }} --profile ${{ matrix.profile }} --compile -n ${{ matrix.tests }}
mbed compile -t GCC_ARM -m ${{ matrix.target }} --profile ${{ matrix.profile }}