@@ -5,6 +5,7 @@ on: [push, pull_request]
5
5
jobs :
6
6
build-for-esp8266 :
7
7
runs-on : ubuntu-latest
8
+ container : ghcr.io/bertmelis/pio-test-container
8
9
strategy :
9
10
matrix :
10
11
example : [
@@ -16,25 +17,21 @@ jobs:
16
17
examples/softwareserial/softwareserial.ino
17
18
]
18
19
steps :
19
- - uses : actions/checkout@v3
20
- - uses : actions/cache@v3
20
+ - uses : actions/checkout@v4
21
+ - uses : actions/cache@v4
21
22
with :
22
23
path : |
23
24
~/.cache/pip
24
25
~/.platformio/.cache
25
26
key : ${{ runner.os }}-pio
26
- - uses : actions/setup-python@v4
27
- with :
28
- python-version : ' 3.9'
29
- - name : Install PlatformIO Core
30
- run : pip install --upgrade platformio
31
27
- name : Build PlatformIO examples
32
28
run : pio ci --lib="." --board=d1_mini
33
29
env :
34
30
PLATFORMIO_CI_SRC : ${{ matrix.example }}
35
31
36
32
build-for-esp32 :
37
33
runs-on : ubuntu-latest
34
+ container : ghcr.io/bertmelis/pio-test-container
38
35
strategy :
39
36
matrix :
40
37
example : [
@@ -45,43 +42,34 @@ jobs:
45
42
examples/simple-read-GWG/simple-read-GWG.ino
46
43
]
47
44
steps :
48
- - uses : actions/checkout@v3
49
- - uses : actions/cache@v3
45
+ - uses : actions/checkout@v4
46
+ - uses : actions/cache@v4
50
47
with :
51
48
path : |
52
49
~/.cache/pip
53
50
~/.platformio/.cache
54
51
key : ${{ runner.os }}-pio
55
- - uses : actions/setup-python@v4
56
- with :
57
- python-version : ' 3.9'
58
- - name : Install PlatformIO Core
59
- run : pip install --upgrade platformio
60
52
- name : Build PlatformIO examples
61
53
run : pio ci --lib="." --board=lolin32
62
54
env :
63
55
PLATFORMIO_CI_SRC : ${{ matrix.example }}
64
56
65
57
build-for-linux :
66
58
runs-on : ubuntu-latest
59
+ container : ghcr.io/bertmelis/pio-test-container
67
60
strategy :
68
61
matrix :
69
62
example : [
70
63
examples/linux/main.cpp
71
64
]
72
65
steps :
73
- - uses : actions/checkout@v3
74
- - uses : actions/cache@v3
66
+ - uses : actions/checkout@v4
67
+ - uses : actions/cache@v4
75
68
with :
76
69
path : |
77
70
~/.cache/pip
78
71
~/.platformio/.cache
79
72
key : ${{ runner.os }}-pio
80
- - uses : actions/setup-python@v4
81
- with :
82
- python-version : ' 3.9'
83
- - name : Install PlatformIO Core
84
- run : pip install --upgrade platformio
85
73
- name : Build PlatformIO examples
86
74
run : pio ci --lib="." --project-conf="./examples/linux/platformio.ini"
87
75
env :
0 commit comments