|
1 |
| -# This is a basic workflow to help you get started with Actions |
2 |
| - |
3 | 1 | name: CI
|
4 | 2 |
|
5 |
| -# Controls when the action will run. Triggers the workflow on push or pull request |
6 |
| -# events but only for the master branch |
7 | 3 | on:
|
8 | 4 | push:
|
9 | 5 | branches: [ master ]
|
10 | 6 | pull_request:
|
11 | 7 | branches: [ master ]
|
12 | 8 |
|
13 |
| -strategy: |
14 |
| - matrix: |
15 |
| - target: |
16 |
| - - inemom1/accelero |
17 |
| - - inemom1/gyro |
18 |
| - - inemom1/leds |
19 |
| - - inemom1/pwm |
20 |
| - - stm32f4discovery/accel |
21 |
| - - stm32f4discovery/audio |
22 |
| - - stm32f4discovery/leds |
23 |
| - - stm32f4discovery/skel |
24 |
| - - stm32f4discovery/timerirq |
25 |
| - - stm32f429discovery/adcdma |
26 |
| - - stm32f429discovery/adcpolling |
27 |
| - - stm32f429discovery/button |
28 |
| - - stm32f429discovery/gyro |
29 |
| - - stm32f429discovery/leds |
30 |
| - - stm32f429discovery/spimaster |
31 |
| - - stm32f429discovery/spislave |
32 |
| - - stm32f429discovery/timerirq |
33 |
| - - stm32f429discovery/timerpwm |
34 |
| - - mbed-lpc1768/leds |
35 |
| - |
36 |
| -# A workflow run is made up of one or more jobs that can run sequentially or in parallel |
37 | 9 | jobs:
|
38 |
| - # This workflow contains a single job called "build" |
39 | 10 | build:
|
40 |
| - # The type of runner that the job will run on |
41 | 11 | runs-on: ubuntu-latest
|
42 |
| - |
| 12 | + continue-on-error: true |
| 13 | + |
| 14 | + strategy: |
| 15 | + matrix: |
| 16 | + target: |
| 17 | + - inemom1/accelero |
| 18 | + - inemom1/gyro |
| 19 | + - inemom1/leds |
| 20 | + - inemom1/pwm |
| 21 | + - stm32f4discovery/accel |
| 22 | + - stm32f4discovery/audio |
| 23 | + - stm32f4discovery/leds |
| 24 | + - stm32f4discovery/skel |
| 25 | + - stm32f4discovery/timerirq |
| 26 | + - stm32f429discovery/adcdma |
| 27 | + - stm32f429discovery/adcpolling |
| 28 | + - stm32f429discovery/button |
| 29 | + - stm32f429discovery/gyro |
| 30 | + - stm32f429discovery/leds |
| 31 | + - stm32f429discovery/spimaster |
| 32 | + - stm32f429discovery/spislave |
| 33 | + - stm32f429discovery/timerirq |
| 34 | + - stm32f429discovery/timerpwm |
| 35 | + - mbed-lpc1768/leds |
| 36 | + |
43 | 37 | container:
|
44 | 38 | image: grumpycoders/uc-sdk-build-env:latest
|
45 | 39 | env:
|
46 | 40 | TARGET: ${{matrix.target}}
|
47 | 41 |
|
48 |
| - # Steps represent a sequence of tasks that will be executed as part of the job |
49 | 42 | steps:
|
50 |
| - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
51 | 43 | - uses: actions/checkout@v2
|
52 | 44 |
|
53 |
| - # Runs a single command using the runners shell |
54 | 45 | - name: Build
|
55 |
| - run: make -C /uC-sdk/examples/$TARGET |
| 46 | + run: make -C examples/$TARGET |
0 commit comments