Added an extra unit test test_trace1
[openpower-isa.git] / .gitlab-ci.yml
index 90bdb6af2e83cc9e80b4229cc08d41d4811f7adb..3c8f412cc33ec3019d8748f5a362fe182bd28597 100644 (file)
@@ -11,7 +11,7 @@ build:
         - apt-get update
         # one package per line to simplify sorting, git diff, etc.
         - >-
-            apt-get -y install
+            apt-get -y install --no-install-recommends
             autoconf
             binutils-powerpc64-linux-gnu
             binutils-powerpc64le-linux-gnu
@@ -37,6 +37,7 @@ build:
             python3-dev
             python3-pip
             python3-setuptools
+            python3-setuptools-scm
             python3-wheel
             qemu-system-ppc
             tcl-dev
@@ -46,7 +47,7 @@ build:
         - export CCACHE_COMPILERCHECK=content
         - ccache --zero-stats || true
         - ccache --show-stats || true
-        - python3 -m pip install --user pytest-xdist
+        - python3 -m pip install --user pytest-xdist==3.3.1 pytest==7.3.1
     script:
         - git clone --depth 1 -b yosys-0.17 https://github.com/YosysHQ/yosys.git yosys
         - pushd yosys
@@ -84,14 +85,26 @@ build:
         - python3 setup.py develop
         - popd
 
+        - git clone --depth 1 https://git.libre-soc.org/git/mdis.git mdis
+        - pushd mdis
+        - git rev-parse HEAD
+        - python3 setup.py develop
+        - popd
+
         - git clone --depth 1 https://git.libre-soc.org/git/nmutil.git nmutil
         - pushd nmutil
         - git rev-parse HEAD
         - python3 setup.py develop
         - popd
 
+        - git clone --depth 1 https://git.libre-soc.org/git/pytest-output-to-files.git pytest-output-to-files
+        - pushd pytest-output-to-files
+        - git rev-parse HEAD
+        - python3 setup.py develop
+        - popd
+
         - python3 setup.py develop
 
         - make generate &> generate.log || { cat generate.log; false; }
 
-        - pytest -n auto src/openpower --maxfail=5
+        - SILENCELOG='!*,default' pytest -v --maxfail=10