35 lines
792 B
YAML
Raw Permalink Normal View History

2024-10-20 15:33:13 +02:00
name: Build test application
on:
2024-11-18 09:21:22 +01:00
push:
2024-10-20 15:33:13 +02:00
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]
2024-11-06 14:31:04 +01:00
profile: [debug]
tests: [
2024-11-05 16:21:51 +01:00
tests-bike-computer-sensor-device,
2024-11-18 09:21:22 +01:00
tests-bike-computer-speedometer,
tests-bike-computer-bike-system,
]
2024-10-20 15:33:13 +02:00
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 }}