ADD CI/CD yml file to build tests
This commit is contained in:
parent
73ed8a06d2
commit
0b136c8418
58
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
58
.github/ISSUE_TEMPLATE/bug_report.md
vendored
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
---
|
||||||
|
name: Bug report
|
||||||
|
about: Create a report to help us improve
|
||||||
|
title: ''
|
||||||
|
labels: 'type: bug'
|
||||||
|
assignees: ''
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
<!--
|
||||||
|
|
||||||
|
************************************** WARNING **************************************
|
||||||
|
|
||||||
|
The ciarcom bot parses this header automatically. Any deviation from the
|
||||||
|
template may cause the bot to automatically correct this header or may result in a
|
||||||
|
warning message, requesting updates.
|
||||||
|
|
||||||
|
PLEASE ENSURE ALL SECTIONS OF THIS TEMPLATE ARE FILLED IN AND THAT THERE ARE
|
||||||
|
NO OTHER CHANGES TO THE TEMPLATE.
|
||||||
|
|
||||||
|
Only bugs should be raised here as issues. Questions or enhancements should instead be raised on
|
||||||
|
our forums:
|
||||||
|
https://forums.mbed.com/ .
|
||||||
|
|
||||||
|
*************************************************************************************
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
### Description of defect
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Add detailed description of what you are reporting.
|
||||||
|
Good example: https://os.mbed.com/docs/mbed-os/latest/contributing/workflow.html
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
#### Target(s) affected by this defect ?
|
||||||
|
|
||||||
|
|
||||||
|
#### Toolchain(s) (name and version) displaying this defect ?
|
||||||
|
|
||||||
|
|
||||||
|
#### What version of Mbed-os are you using (tag or sha) ?
|
||||||
|
<!--
|
||||||
|
For a released version please provide the release tag (this can be found as per the instructions below)
|
||||||
|
|
||||||
|
mbed-os version can be found in:
|
||||||
|
https://github.com/ARMmbed/mbed-os/blob/master/platform/include/platform/mbed_version.h
|
||||||
|
The tag can be reconstructed as follows:
|
||||||
|
mbed-os-MBED_MAJOR_VERSION.MBED_MINOR_VERSION.MBED_PATCH_VERSION
|
||||||
|
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
#### What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
|
||||||
|
|
||||||
|
|
||||||
|
#### How is this defect reproduced ?
|
31
.github/workflows/build-test.yml
vendored
Normal file
31
.github/workflows/build-test.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
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 }}
|
Loading…
x
Reference in New Issue
Block a user