Skip to content

Commit 83a82d4

Browse files
committed
Fixing workflow file.
1 parent 599a6b9 commit 83a82d4

File tree

1 file changed

+25
-35
lines changed

1 file changed

+25
-35
lines changed

.github/workflows/main.yml

+25-35
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,45 @@
1-
# This is a basic workflow to help you get started with Actions
2-
31
name: CI
42

5-
# Controls when the action will run. Triggers the workflow on push or pull request
6-
# events but only for the master branch
73
on:
84
push:
95
branches: [ master ]
106
pull_request:
117
branches: [ master ]
128

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
379
jobs:
38-
# This workflow contains a single job called "build"
3910
build:
40-
# The type of runner that the job will run on
4111
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+
4336
container:
4437
image: grumpycoders/uc-sdk-build-env:latest
4538
env:
4639
TARGET: ${{matrix.target}}
4740

48-
# Steps represent a sequence of tasks that will be executed as part of the job
4941
steps:
50-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
5142
- uses: actions/checkout@v2
5243

53-
# Runs a single command using the runners shell
5444
- name: Build
55-
run: make -C /uC-sdk/examples/$TARGET
45+
run: make -C examples/$TARGET

0 commit comments

Comments
 (0)