comments for test_runner
[soc.git] / .gitlab-ci.yml
index ca1a9489a92171ef6975153fbbfbf601c5968ac0..867411fa4ddce7beef88c6b704c9f3f8df997219 100644 (file)
@@ -5,6 +5,7 @@ cache:
         - ccache
         - .cache/pip
         - apt-cache
+    when: 'always'
 
 variables:
     PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip"
@@ -12,6 +13,7 @@ variables:
 
 build:
     stage: build
+    timeout: 2h
     before_script:
         - mkdir -p apt-cache
         - apt-get -o dir::cache::archives="$(pwd)/apt-cache" update
@@ -84,6 +86,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 +112,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 +120,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/