diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 05d4b10de666ab1eb3936b47e31473400860cf78..e2ac67f2093d98746b48fa28b10b5a5bc198d653 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,26 @@ default: image: rboman/waves-py3:2020.3 + before_script: + # Instal pip + - wget https://bootstrap.pypa.io/get-pip.py + - python3 get-pip.py + # Install CoDiPack + - git clone https://github.com/SciCompKL/CoDiPack + - cd CoDiPack + - git checkout tags/v2.1.0 + - INCLUDE=${INCLUDE}:${PWD}/include + - cd .. + # Install SDPM + - git clone https://gitlab.uliege.be/am-dept/sdpm && cd sdpm + - git checkout adri # TODO remove + - mkdir build && cd build + - cmake .. + - make install -j8 + - cd ../.. + # Install PyPK + - git clone https://gitlab.uliege.be/am-dept/pypk && cd pypk + - python3 -m pip install . + - cd .. .global_tag: &global_tag_def tags: @@ -18,28 +39,6 @@ build: <<: *global_tag_def stage: build script: - # Instal pip - - wget -q https://bootstrap.pypa.io/get-pip.py - - python3 get-pip.py - # Install SDPM - - wget -q https://gitlab.uliege.be/am-dept/sdpm/-/archive/adri/sdpm-adri.tar.bz2 - - tar xf sdpm-adri.tar.bz2 - - rm sdpm-adri.tar.bz2 - - mv sdpm-adri sdpm - - cd sdpm - - mkdir build && cd build - - cmake .. - - make install -j8 - - cd ../.. - # Install PyPK - - wget -q https://gitlab.uliege.be/am-dept/pypk/-/archive/master/pypk-master.tar.bz2 - - tar xf pypk-master.tar.bz2 - - rm pypk-master.tar.bz2 - - mv pypk-master pypk - - cd pypk - - python3 -m pip install . - - cd .. - # Install OMFlut - python3 -m pip install . test: