@@ -28,12 +28,13 @@ jobs:
2828 env :
2929 GITHUB_CONTEXT : ${{ toJson(github) }}
3030 - name : Set up repository
31- uses : actions/checkout@v3
31+ uses : actions/checkout@v4
3232 with :
3333 submodules : false
34+ show-progress : false
3435 fetch-depth : 1
3536 - name : Set up python
36- uses : actions/setup-python@v4
37+ uses : actions/setup-python@v5
3738 with :
3839 python-version : 3.x
3940 - name : Duplicate USB VID/PID check
@@ -108,12 +109,13 @@ jobs:
108109 CP_VERSION : ${{ needs.scheduler.outputs.cp-version }}
109110 steps :
110111 - name : Set up repository
111- uses : actions/checkout@v3
112+ uses : actions/checkout@v4
112113 with :
113114 submodules : false
115+ show-progress : false
114116 fetch-depth : 1
115117 - name : Set up python
116- uses : actions/setup-python@v4
118+ uses : actions/setup-python@v5
117119 with :
118120 python-version : 3.x
119121 - name : Set up submodules
@@ -124,21 +126,21 @@ jobs:
124126 python3 --version
125127 msgfmt --version
126128 - 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
129131 with :
130132 name : mpy-cross-macos-11-x64
131133 path : mpy-cross/build/mpy-cross
132134 - 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
135137 with :
136138 name : mpy-cross-macos-11-arm64
137139 path : mpy-cross/build-arm64/mpy-cross-arm64
138140 - name : Make universal binary
139141 run : lipo -create -output mpy-cross-macos-universal mpy-cross/build/mpy-cross mpy-cross/build-arm64/mpy-cross-arm64
140142 - name : Upload artifact
141- uses : actions/upload-artifact@v3
143+ uses : actions/upload-artifact@v4
142144 with :
143145 name : mpy-cross-macos-11-universal
144146 path : mpy-cross-macos-universal
@@ -163,12 +165,13 @@ jobs:
163165 CP_VERSION : ${{ needs.scheduler.outputs.cp-version }}
164166 steps :
165167 - name : Set up repository
166- uses : actions/checkout@v3
168+ uses : actions/checkout@v4
167169 with :
168170 submodules : false
171+ show-progress : false
169172 fetch-depth : 1
170173 - name : Set up python
171- uses : actions/setup-python@v4
174+ uses : actions/setup-python@v5
172175 with :
173176 python-version : 3.x
174177 - name : Set up submodules
@@ -179,23 +182,23 @@ jobs:
179182 sudo apt-get install -y latexmk librsvg2-bin texlive-fonts-recommended texlive-latex-recommended texlive-latex-extra
180183 pip install -r requirements-doc.txt
181184 - 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
184187 with :
185188 name : stubs
186189 path : circuitpython-stubs/dist/*
187190 - name : Test Documentation Build (HTML)
188191 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
190193 with :
191- name : docs
194+ name : docs-html
192195 path : _build/html
193196 - name : Test Documentation Build (LaTeX/PDF)
194197 run : |
195198 make latexpdf
196- - uses : actions/upload-artifact@v3
199+ - uses : actions/upload-artifact@v4
197200 with :
198- name : docs
201+ name : docs-latexpdf
199202 path : _build/latex
200203 - name : Upload to S3
201204 uses : ./.github/actions/upload_aws
@@ -249,9 +252,9 @@ jobs:
249252 python3 -c "import sys, locale; print(sys.getdefaultencoding(), locale.getpreferredencoding(False))"
250253 - name : Install dependencies
251254 run : |
252- wget --no-verbose -O gcc-arm.zip https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc- arm-none-eabi-10-2020-q4-major-win32 .zip
255+ wget --no-verbose -O gcc-arm.zip https://developer.arm.com/-/media/Files/downloads/gnu/13.2.rel1/binrel/ arm-gnu-toolchain-13.2.rel1-mingw-w64-i686-arm-none-eabi .zip
253256 unzip -q -d /tmp gcc-arm.zip
254- tar -C /tmp/gcc- arm-none- * -cf - . | tar -C /usr/local -xf -
257+ tar -C /tmp/arm-gnu-toolchain * -cf - . | tar -C /usr/local -xf -
255258 pip install wheel
256259 # requirements_dev.txt doesn't install on windows. (with msys2 python)
257260 # instead, pick a subset for what we want to do
@@ -260,24 +263,25 @@ jobs:
260263 which python; python --version; python -c "import cascadetoml"
261264 which python3; python3 --version; python3 -c "import cascadetoml"
262265 - name : Set up repository
263- uses : actions/checkout@v3
266+ uses : actions/checkout@v4
264267 with :
265268 submodules : false
269+ show-progress : false
266270 fetch-depth : 1
267271 - name : Set up submodules
268272 uses : ./.github/actions/deps/submodules
269273 - name : build mpy-cross
270- run : make -j2 -C mpy-cross
274+ run : make -j4 -C mpy-cross
271275 - 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
273277 - 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
275279 - 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
277281 - 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
279283 - 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
281285 # I gave up trying to do esp builds on windows when I saw
282286 # ERROR: Platform MINGW64_NT-10.0-17763-x86_64 appears to be unsupported
283287 # https://github.com/espressif/esp-idf/issues/7062
0 commit comments