Add count of masked reads
[soc.git] / .gitlab-ci.yml
index ca1a9489a92171ef6975153fbbfbf601c5968ac0..c3ca516fc2695aced2e4d186b000f0a2694f399e 100644 (file)
@@ -5,13 +5,16 @@ cache:
         - ccache
         - .cache/pip
         - apt-cache
+    when: 'always'
 
 variables:
     PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
     GIT_SUBMODULE_STRATEGY: recursive
+    GIT_DEPTH: 500
 
 build:
     stage: build
+    timeout: 2h
     before_script:
         - mkdir -p apt-cache
         - apt-get -o dir::cache::archives="$(pwd)/apt-cache" update
@@ -84,6 +87,7 @@ build:
         - pushd openpower-isa
         - python3 setup.py develop
         - make -j$(nproc) svanalysis > /dev/null
+        - make -j$(nproc) pyfnwriter > /dev/null 2>&1
         - make -j$(nproc) pywriter > /dev/null 2>&1
         - popd
 
@@ -109,7 +113,7 @@ build:
         - pip install dist/sfpy*.whl
         - popd
 
-        - cargo install maturin
+        - python3 -m pip install 'maturin>=0.11,<0.12'
         - git clone --depth 1 https://git.libre-soc.org/git/power-instruction-analyzer.git pia
         - pushd pia
         - maturin build --cargo-extra-args=--features=python-extension
@@ -117,5 +121,4 @@ build:
         - popd
 
         - python setup.py develop
-        - pywriter > /dev/null 2>&1
-        - nosetests -v --processes=-1 --process-timeout=120
+        - nosetests -v --processes=-1 --process-timeout=120 -w src/