Skip to content

Commit 56dba37

Browse files
authored
Merge pull request #762 from pimoroni/ci/single-job
CI: Single-job builds to avoid #761.
2 parents f097577 + 22a659a commit 56dba37

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/micropython.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,21 +150,21 @@ jobs:
150150
shell: bash
151151
working-directory: micropython/ports/rp2
152152
run: |
153-
cmake -S . -B build-${{matrix.name}} -DPICO_BUILD_DOCS=0 -DUSER_C_MODULES=${{env.USER_C_MODULES}} -DMICROPY_BOARD_DIR=${{env.MICROPY_BOARD_DIR}} -DMICROPY_BOARD=${{matrix.board}} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
153+
cmake -S . -B build-${{matrix.name}} -DPICO_BUILD_DOCS=0 -DUSER_C_MODULES=${{env.USER_C_MODULES}} -DMICROPY_BOARD_DIR=${{env.MICROPY_BOARD_DIR}} -DMICROPY_C_HEAP_SIZE=4096 -DMICROPY_BOARD=${{matrix.board}} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
154154
155155
- name: Configure MicroPython (Upstream Board Dir)
156156
if: matrix.local_board_dir != true
157157
shell: bash
158158
working-directory: micropython/ports/rp2
159159
run: |
160-
cmake -S . -B build-${{matrix.name}} -DPICO_BUILD_DOCS=0 -DUSER_C_MODULES=${{env.USER_C_MODULES}} -DMICROPY_BOARD=${{matrix.board}} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
160+
cmake -S . -B build-${{matrix.name}} -DPICO_BUILD_DOCS=0 -DUSER_C_MODULES=${{env.USER_C_MODULES}} -DMICROPY_C_HEAP_SIZE=4096 -DMICROPY_BOARD=${{matrix.board}} -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
161161
162-
- name: Build MicroPython
162+
- name: Build MicroPython # Multiple simultaneous jobs trigger https://github.com/pimoroni/pimoroni-pico/issues/761
163163
shell: bash
164164
working-directory: micropython/ports/rp2
165165
run: |
166166
ccache --zero-stats || true
167-
cmake --build build-${{matrix.name}} -j 2
167+
cmake --build build-${{matrix.name}} -j 1
168168
ccache --show-stats || true
169169
170170
- name: Rename .uf2 for artifact

0 commit comments

Comments
 (0)