Since esphome lets platformio fetch packages and that is not parallel safe, we have to pace it a bit.
This commit is contained in:
@@ -24,4 +24,4 @@ jobs:
|
|||||||
# pinned in Nix. The ci shell avoids nixpkgs wrapping platformio in bwrap,
|
# pinned in Nix. The ci shell avoids nixpkgs wrapping platformio in bwrap,
|
||||||
# which fails on CI runners that disallow unprivileged user namespaces.
|
# which fails on CI runners that disallow unprivileged user namespaces.
|
||||||
- name: Compile All
|
- name: Compile All
|
||||||
run: nix develop .#ci --command make compile-all -j4
|
run: nix develop .#ci --command make compile-all
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ $ cp -i templates/secrets.yaml{.sample,}
|
|||||||
|
|
||||||
# Edit both secrets.yaml files.
|
# Edit both secrets.yaml files.
|
||||||
|
|
||||||
# Compile all devices in parallel (up to 4 jobs)
|
# Compile all devices
|
||||||
$ nix develop --command make compile-all -j4
|
$ nix develop --command make compile-all
|
||||||
|
|
||||||
# Or compile a single device
|
# Or compile a single device
|
||||||
$ nix develop --command make compile-bathroomheater
|
$ 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):
|
To flash all devices (automatically prioritizes OTA and skips prompts):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ nix develop --command make flash-all -j4
|
$ nix develop --command make flash-all
|
||||||
```
|
```
|
||||||
|
|
||||||
To flash a single device:
|
To flash a single device:
|
||||||
|
|||||||
Reference in New Issue
Block a user