BikeComputer/.github/workflows/build-test.yml

32 lines
746 B
YAML
Raw Normal View History

2024-10-20 15:33:13 +02:00
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]
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 }}