BikeComputer/.github/workflows/build-test.yml
2024-10-29 16:13:20 +01:00

39 lines
945 B
YAML

name: Build test application
on:
pull_request:
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: [develop, debug, release]
tests: [
tests-simple-test-always-succeed,
tests-simple-test-ptr-test,
tests-simple-unique-ptr,
tests-simple-test-raw-ptr,
advdembsof_library-tests-sensors-hdc1000,
tests-bike-computer-sensor-device
]
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 }}