diff --git a/tasks/dev.yml b/tasks/dev.yml index b661297..6e010f9 100644 --- a/tasks/dev.yml +++ b/tasks/dev.yml @@ -9,6 +9,7 @@ - 'arduino' - 'arduino-cli' - 'arduino-builder' + - 'ccache' - 'hugo' - 'postgresql' - 'postman-bin' diff --git a/tasks/packages.yml b/tasks/packages.yml index 6f2923b..ae75087 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -59,3 +59,10 @@ when: "item not in installed_packages.stdout_lines" with_items: - 'archstrike-keyring' + +- name: Use ccache in makepkg + lineinfile: + path: /etc/makepkg.conf + state: present + regexp: '^BUILDENV=' + line: 'BUILDENV=(!distcc color ccache check !sign)'