@@ -52,42 +52,42 @@ jobs:
52
52
- name : Upload cli compile json
53
53
uses : actions/upload-artifact@v4
54
54
with :
55
- name : cli_compile_ ${{ matrix.chunk }}
55
+ name : pr_cli_compile_ ${{ matrix.chunk }}
56
56
path : cli_compile_${{ matrix.chunk }}.json
57
57
58
58
# Windows and MacOS
59
- build-arduino-win-mac :
60
- name : Arduino on ${{ matrix.os }}
61
- runs-on : ${{ matrix.os }}
62
- strategy :
63
- fail-fast : false
64
- matrix :
65
- os : [windows-latest, macOS-latest]
66
-
67
- steps :
68
- - uses : actions/checkout@v4
69
- - uses : actions/setup-python@v5
70
- with :
71
- python-version : ' 3.x'
72
- - name : Build Sketches
73
- run : bash ./.github/scripts/on-push.sh
59
+ # build-arduino-win-mac:
60
+ # name: Arduino on ${{ matrix.os }}
61
+ # runs-on: ${{ matrix.os }}
62
+ # strategy:
63
+ # fail-fast: false
64
+ # matrix:
65
+ # os: [windows-latest, macOS-latest]
66
+ #
67
+ # steps:
68
+ # - uses: actions/checkout@v4
69
+ # - uses: actions/setup-python@v5
70
+ # with:
71
+ # python-version: '3.x'
72
+ # - name: Build Sketches
73
+ # run: bash ./.github/scripts/on-push.sh
74
74
75
75
# PlatformIO on Windows, Ubuntu and Mac
76
- build-platformio :
77
- name : PlatformIO on ${{ matrix.os }}
78
- runs-on : ${{ matrix.os }}
79
- strategy :
80
- fail-fast : false
81
- matrix :
82
- os : [ubuntu-latest, windows-latest, macOS-latest]
83
-
84
- steps :
85
- - uses : actions/checkout@v4
86
- - uses : actions/setup-python@v5
87
- with :
88
- python-version : ' 3.x'
89
- - name : Build Sketches
90
- run : bash ./.github/scripts/on-push.sh 1 1 # equal and non-zero to trigger PIO
76
+ # build-platformio:
77
+ # name: PlatformIO on ${{ matrix.os }}
78
+ # runs-on: ${{ matrix.os }}
79
+ # strategy:
80
+ # fail-fast: false
81
+ # matrix:
82
+ # os: [ubuntu-latest, windows-latest, macOS-latest]
83
+ #
84
+ # steps:
85
+ # - uses: actions/checkout@v4
86
+ # - uses: actions/setup-python@v5
87
+ # with:
88
+ # python-version: '3.x'
89
+ # - name: Build Sketches
90
+ # run: bash ./.github/scripts/on-push.sh 1 1 #equal and non-zero to trigger PIO
91
91
92
92
build-esp-idf-component :
93
93
name : Build with ESP-IDF ${{ matrix.idf_ver }} for ${{ matrix.idf_target }}
@@ -117,3 +117,40 @@ jobs:
117
117
idf.py create-project test
118
118
echo CONFIG_FREERTOS_HZ=1000 > test/sdkconfig.defaults
119
119
idf.py -C test -DEXTRA_COMPONENT_DIRS=$PWD/components build
120
+
121
+ # Ubuntu
122
+ build-arduino-master-linux :
123
+ name : Arduino Master ${{ matrix.chunk }} on ubuntu-latest
124
+ runs-on : ubuntu-latest
125
+ strategy :
126
+ fail-fast : false
127
+ matrix :
128
+ chunk : [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
129
+
130
+ # Checkout master branch
131
+ steps :
132
+ - uses : actions/checkout@v4
133
+ with :
134
+ ref : master
135
+ - uses : actions/setup-python@v5
136
+ with :
137
+ python-version : ' 3.x'
138
+ - name : Cache tools
139
+ id : cache-linux
140
+ uses : actions/cache@v4
141
+ with :
142
+ path : |
143
+ ./tools/dist
144
+ ~/arduino_ide
145
+ key : ${{ runner.os }}-${{ hashFiles('package/package_esp32_index.template.json',
146
+ ' tools/get.py' ,
147
+ ' .github/scripts/install-arduino-ide.sh' ) }}
148
+ - name : Build Sketches
149
+ run : bash ./.github/scripts/on-push.sh ${{ matrix.chunk }} 15
150
+
151
+ # Upload cli compile json as artifact
152
+ - name : Upload cli compile json
153
+ uses : actions/upload-artifact@v4
154
+ with :
155
+ name : master_cli_compile_${{ matrix.chunk }}
156
+ path : cli_compile_${{ matrix.chunk }}.json
0 commit comments