Skip to content

Commit 6670c5c

Browse files
committed
Fix Github CI Actions workflows
1 parent 516e4cb commit 6670c5c

4 files changed

Lines changed: 12 additions & 9 deletions

File tree

.github/workflows/build_avr.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@ name: Build AVR CI
33
on: [push]
44

55
jobs:
6-
build:
6+
build_avr:
77

88
runs-on: ubuntu-latest
99

1010
steps:
1111
- uses: actions/checkout@v2
12+
- name: Setup
13+
run: |
14+
git submodule update --init --recursive
15+
chmod +x examples/avr/basic_usage/tools/*
1216
- name: Install C/C++ Toolchain
1317
run: |
1418
sudo apt-get update
@@ -17,10 +21,8 @@ jobs:
1721
sudo apt-get -y install gcc-avr
1822
sudo apt-get -y install avr-libc
1923
sudo apt-get -y install cflow
20-
- name: Build scripts setup
21-
run: chmod +x examples/avr/basic_usage/tools/*
2224
- name: Build
2325
run: |
2426
cd examples/avr/basic_usage/build
2527
make clean
26-
make build
28+
make build DEVICE=atmega328p F_CPU=16000000L

.github/workflows/build_linux.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@ name: Build Linux CI
33
on: [push]
44

55
jobs:
6-
build:
6+
build_linux:
77

88
runs-on: ubuntu-latest
99

1010
steps:
1111
- uses: actions/checkout@v2
12+
- name: Setup
13+
run: |
14+
chmod +x examples/linux/basic_usage/tools/*
1215
- name: Install C/C++ Toolchain
1316
run: |
1417
sudo apt-get update
@@ -18,8 +21,6 @@ jobs:
1821
sudo apt-get -y install g++
1922
sudo apt-get -y install libc6
2023
sudo apt-get -y install cflow
21-
- name: Build scripts setup
22-
run: chmod +x examples/linux/basic_usage/tools/*
2324
- name: Build
2425
run: |
2526
cd examples/linux/basic_usage/build

.github/workflows/build_pio_arduino.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build PlatformIO Arduino CI
33
on: [push]
44

55
jobs:
6-
build:
6+
build_pio_arduino:
77

88
runs-on: ubuntu-latest
99
strategy:

.github/workflows/build_pio_espidf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build PlatformIO ESP-IDF CI
33
on: [push]
44

55
jobs:
6-
build:
6+
build_pio_espidf:
77

88
runs-on: ubuntu-latest
99
strategy:

0 commit comments

Comments
 (0)