37 lines
		
	
	
		
			890 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			37 lines
		
	
	
		
			890 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
| name: Build test application
 | |
| on:
 | |
|   pull_request:
 | |
| 
 | |
| 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-simple-test-always-succeed,
 | |
|           tests-simple-test-test-ptr,
 | |
|           advdembsof_library-tests-sensors-hdc1000,
 | |
|           tests-bike-computer-sensor-device,
 | |
|           tests-bike-computer-speedometer
 | |
|         ]
 | |
| 
 | |
| 
 | |
|     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 }}
 |