basic installs working
need to run tests on all the builds alone, should use a container system
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
- name: Run configure target
|
||||
when:
|
||||
- pkg.target.configure is defined
|
||||
register: make_configure
|
||||
community.general.make:
|
||||
chdir: "{{ pkg.path }}"
|
||||
target: "{{ pkg.target.configure.name }}"
|
||||
@@ -23,6 +24,7 @@
|
||||
- name: Run build target
|
||||
when:
|
||||
- pkg.target.build is defined
|
||||
register: make_build
|
||||
community.general.make:
|
||||
chdir: "{{ pkg.path }}"
|
||||
target: "{{ pkg.target.build.name }}"
|
||||
@@ -41,14 +43,18 @@
|
||||
loop: "{{ pkg.targets.preinstall }}"
|
||||
loop_control:
|
||||
loop_var: target
|
||||
register: make_preinstall
|
||||
community.general.make:
|
||||
chdir: "{{ pkg.path }}"
|
||||
target: "{{ target.name }}"
|
||||
params: "{{ target.params | default(omit) }}"
|
||||
|
||||
- name: Run install target
|
||||
become: "{{ install_become }}"
|
||||
become_user: "{{ install_become_user }}"
|
||||
when:
|
||||
- pkg.targets.install is defined
|
||||
register: make_install
|
||||
community.general.make:
|
||||
chdir: "{{ pkg.path }}"
|
||||
target: "{{ pkg.targets.install.name }}"
|
||||
@@ -60,6 +66,7 @@
|
||||
loop: "{{ pkg.targets.postinstall }}"
|
||||
loop_control:
|
||||
loop_var: target
|
||||
register: make_postinstall
|
||||
community.general.make:
|
||||
chdir: "{{ pkg.path }}"
|
||||
target: "{{ target.name }}"
|
||||
|
||||
Reference in New Issue
Block a user