|
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 | + |
| 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 | + |
43 | 36 | container: |
44 | 37 | image: grumpycoders/uc-sdk-build-env:latest |
45 | 38 | env: |
46 | 39 | TARGET: ${{matrix.target}} |
47 | 40 |
|
48 | | - # Steps represent a sequence of tasks that will be executed as part of the job |
49 | 41 | steps: |
50 | | - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it |
51 | 42 | - uses: actions/checkout@v2 |
52 | 43 |
|
53 | | - # Runs a single command using the runners shell |
54 | 44 | - name: Build |
55 | | - run: make -C /uC-sdk/examples/$TARGET |
| 45 | + run: make -C examples/$TARGET |
0 commit comments