@@ -28,12 +28,13 @@ jobs:
28
28
env :
29
29
GITHUB_CONTEXT : ${{ toJson(github) }}
30
30
- name : Set up repository
31
- uses : actions/checkout@v3
31
+ uses : actions/checkout@v4
32
32
with :
33
33
submodules : false
34
+ show-progress : false
34
35
fetch-depth : 1
35
36
- name : Set up python
36
- uses : actions/setup-python@v4
37
+ uses : actions/setup-python@v5
37
38
with :
38
39
python-version : 3.x
39
40
- name : Duplicate USB VID/PID check
@@ -108,12 +109,13 @@ jobs:
108
109
CP_VERSION : ${{ needs.scheduler.outputs.cp-version }}
109
110
steps :
110
111
- name : Set up repository
111
- uses : actions/checkout@v3
112
+ uses : actions/checkout@v4
112
113
with :
113
114
submodules : false
115
+ show-progress : false
114
116
fetch-depth : 1
115
117
- name : Set up python
116
- uses : actions/setup-python@v4
118
+ uses : actions/setup-python@v5
117
119
with :
118
120
python-version : 3.x
119
121
- name : Set up submodules
@@ -124,21 +126,21 @@ jobs:
124
126
python3 --version
125
127
msgfmt --version
126
128
- name : Build mpy-cross
127
- run : make -C mpy-cross -j2
128
- - uses : actions/upload-artifact@v3
129
+ run : make -C mpy-cross -j4
130
+ - uses : actions/upload-artifact@v4
129
131
with :
130
132
name : mpy-cross-macos-11-x64
131
133
path : mpy-cross/build/mpy-cross
132
134
- name : Build mpy-cross (arm64)
133
- run : make -C mpy-cross -j2 -f Makefile.m1 V=2
134
- - uses : actions/upload-artifact@v3
135
+ run : make -C mpy-cross -j4 -f Makefile.m1 V=2
136
+ - uses : actions/upload-artifact@v4
135
137
with :
136
138
name : mpy-cross-macos-11-arm64
137
139
path : mpy-cross/build-arm64/mpy-cross-arm64
138
140
- name : Make universal binary
139
141
run : lipo -create -output mpy-cross-macos-universal mpy-cross/build/mpy-cross mpy-cross/build-arm64/mpy-cross-arm64
140
142
- name : Upload artifact
141
- uses : actions/upload-artifact@v3
143
+ uses : actions/upload-artifact@v4
142
144
with :
143
145
name : mpy-cross-macos-11-universal
144
146
path : mpy-cross-macos-universal
@@ -163,12 +165,13 @@ jobs:
163
165
CP_VERSION : ${{ needs.scheduler.outputs.cp-version }}
164
166
steps :
165
167
- name : Set up repository
166
- uses : actions/checkout@v3
168
+ uses : actions/checkout@v4
167
169
with :
168
170
submodules : false
171
+ show-progress : false
169
172
fetch-depth : 1
170
173
- name : Set up python
171
- uses : actions/setup-python@v4
174
+ uses : actions/setup-python@v5
172
175
with :
173
176
python-version : 3.x
174
177
- name : Set up submodules
@@ -179,23 +182,23 @@ jobs:
179
182
sudo apt-get install -y latexmk librsvg2-bin texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra
180
183
pip install -r requirements-doc.txt
181
184
- name : Build and Validate Stubs
182
- run : make check-stubs -j2
183
- - uses : actions/upload-artifact@v3
185
+ run : make check-stubs -j4
186
+ - uses : actions/upload-artifact@v4
184
187
with :
185
188
name : stubs
186
189
path : circuitpython-stubs/dist/*
187
190
- name : Test Documentation Build (HTML)
188
191
run : sphinx-build -E -W -b html -D version=${{ env.CP_VERSION }} -D release=${{ env.CP_VERSION }} . _build/html
189
- - uses : actions/upload-artifact@v3
192
+ - uses : actions/upload-artifact@v4
190
193
with :
191
- name : docs
194
+ name : docs-html
192
195
path : _build/html
193
196
- name : Test Documentation Build (LaTeX/PDF)
194
197
run : |
195
198
make latexpdf
196
- - uses : actions/upload-artifact@v3
199
+ - uses : actions/upload-artifact@v4
197
200
with :
198
- name : docs
201
+ name : docs-latexpdf
199
202
path : _build/latex
200
203
- name : Upload to S3
201
204
uses : ./.github/actions/upload_aws
@@ -260,24 +263,25 @@ jobs:
260
263
which python; python --version; python -c "import cascadetoml"
261
264
which python3; python3 --version; python3 -c "import cascadetoml"
262
265
- name : Set up repository
263
- uses : actions/checkout@v3
266
+ uses : actions/checkout@v4
264
267
with :
265
268
submodules : false
269
+ show-progress : false
266
270
fetch-depth : 1
267
271
- name : Set up submodules
268
272
uses : ./.github/actions/deps/submodules
269
273
- name : build mpy-cross
270
- run : make -j2 -C mpy-cross
274
+ run : make -j4 -C mpy-cross
271
275
- name : build rp2040
272
- run : make -j2 -C ports/raspberrypi BOARD=adafruit_feather_rp2040 TRANSLATION=de_DE
276
+ run : make -j4 -C ports/raspberrypi BOARD=adafruit_feather_rp2040 TRANSLATION=de_DE
273
277
- name : build samd21
274
- run : make -j2 -C ports/atmel-samd BOARD=feather_m0_express TRANSLATION=zh_Latn_pinyin
278
+ run : make -j4 -C ports/atmel-samd BOARD=feather_m0_express TRANSLATION=zh_Latn_pinyin
275
279
- name : build samd51
276
- run : make -j2 -C ports/atmel-samd BOARD=feather_m4_express TRANSLATION=es
280
+ run : make -j4 -C ports/atmel-samd BOARD=feather_m4_express TRANSLATION=es
277
281
- name : build nrf
278
- run : make -j2 -C ports/nrf BOARD=feather_nrf52840_express TRANSLATION=fr
282
+ run : make -j4 -C ports/nrf BOARD=feather_nrf52840_express TRANSLATION=fr
279
283
- name : build stm
280
- run : make -j2 -C ports/stm BOARD=feather_stm32f405_express TRANSLATION=pt_BR
284
+ run : make -j4 -C ports/stm BOARD=feather_stm32f405_express TRANSLATION=pt_BR
281
285
# I gave up trying to do esp builds on windows when I saw
282
286
# ERROR: Platform MINGW64_NT-10.0-17763-x86_64 appears to be unsupported
283
287
# https://github.com/espressif/esp-idf/issues/7062
0 commit comments