Files
ansible_role_package/tasks/helpers/cmake_build.yml
2025-03-31 19:44:02 -06:00

20 lines
600 B
YAML

# vim: set filetype=yaml.ansible :
---
- name: Configure {{ repo.git_path }}
ansible.builtin.command:
creates: "{{ repo.git_path }}/build"
chdir: "{{ repo.git_path }}"
argv: "{{ repo.build.configure }}"
- name: Build {{ repo.git_path }}
ansible.builtin.command:
creates: "{{ repo.git_path }}/{{ repo.build.creates }}"
chdir: "{{ repo.git_path }}"
argv: "{{ repo.build.build }}"
- name: Install {{ repo.git_push }}
ansible.buitlin.command:
creates: "{{ repo.prefix }}/{{ repo.build.installs }}"
chdir: "{{ repo.git_path }}"
argv: "{{ repo.build.install }}"