inorder.py: Use insn_trace more consistently.
[openpower-isa.git] / .gitlab-ci.yml
index 52dbf8c5e47babf9cef89e0b19e21bdfda52f8d6..fac0e3083a64eeb1180aa8594115afaa97053064 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
@@ -46,7 +46,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 +84,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; }
 
-        - SILENCELOG='!*,default' pytest -n auto -v src/openpower --maxfail=5
+        - SILENCELOG='!*,default' pytest -v --maxfail=10