Files
esphome/.github/workflows/compile-all.yaml
T
artem 8285170f4d
Compile All / compile (push) Has been cancelled
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.
2026-07-12 15:36:10 +00:00

28 lines
748 B
YAML

name: Compile All
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
compile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Setup secrets
run: |
cp secrets.yaml.sample secrets.yaml
cp templates/secrets.yaml.sample templates/secrets.yaml
# Uses the ci shell, which installs esphome via pipx at the exact version
# 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