Commit 793da477 authored by Swann Perarnau's avatar Swann Perarnau
Browse files

[feature] add umap CI/install role

Add playbook role to install or use CI with umap.
parent 66634fcb
...@@ -5,4 +5,6 @@ ...@@ -5,4 +5,6 @@
roles: roles:
- common - common
- { role: aml, ci: true, install: false} - { role: aml, ci: true, install: false}
- { role: nrm, ci: true, install: false}
- { role: umap, ci: true, install: false}
- { role: ci-runner, become: yes } - { role: ci-runner, become: yes }
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
- autoconf - autoconf
- libtool - libtool
- make - make
- cmake3
- name: add pipenv for python packages - name: add pipenv for python packages
command: pip install pipenv command: pip install pipenv
......
- name: add umap CI dependencies
package:
name: "{{ item }}"
state: present
with_items:
- valgrind
- name: add umap dependencies
package:
name: "{{ item }}"
state: present
with_items:
- cmake3
- name: fetch umap repository
git:
repo: https://xgitlab.cels.anl.gov/argo/umap.git
dest: /argo/umap.git
update: yes
- name: create build directory
file:
state: directory
path: /argo/umap.git/build
- name: compile umap
shell: cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release && make && make install
args:
chdir: /argo/umap.git/build
- { include: dependencies.yaml, become: yes }
- { include: install.yaml, become: yes, when: install }
- { include: ci.yaml, become: yes, when: ci }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment