From 8285170f4d05d3ac4c3ac5a80ffa04ab96e8d763 Mon Sep 17 00:00:00 2001 From: Artem Sheremet Date: Sun, 12 Jul 2026 15:36:10 +0000 Subject: [PATCH] Drop parallelism in compile and flash Since esphome lets platformio fetch packages and that is not parallel safe, we have to pace it a bit. --- .github/workflows/compile-all.yaml | 2 +- README.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/compile-all.yaml b/.github/workflows/compile-all.yaml index 076a48e..c84dc93 100644 --- a/.github/workflows/compile-all.yaml +++ b/.github/workflows/compile-all.yaml @@ -24,4 +24,4 @@ jobs: # pinned in Nix. The ci shell avoids nixpkgs wrapping platformio in bwrap, # which fails on CI runners that disallow unprivileged user namespaces. - name: Compile All - run: nix develop .#ci --command make compile-all -j4 + run: nix develop .#ci --command make compile-all diff --git a/README.md b/README.md index 1104483..71cdf94 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ $ cp -i templates/secrets.yaml{.sample,} # Edit both secrets.yaml files. -# Compile all devices in parallel (up to 4 jobs) -$ nix develop --command make compile-all -j4 +# Compile all devices +$ nix develop --command make compile-all # Or compile a single device $ nix develop --command make compile-bathroomheater @@ -28,7 +28,7 @@ $ nix develop --command make compile-bathroomheater To flash all devices (automatically prioritizes OTA and skips prompts): ```bash -$ nix develop --command make flash-all -j4 +$ nix develop --command make flash-all ``` To flash a single device: