.gitlab-ci.yml: Trim log output
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Tue, 4 May 2021 06:19:29 +0000 (08:19 +0200)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 4 May 2021 19:18:22 +0000 (20:18 +0100)
GitLab-CI limits log output to 4 MiB, which the build job currently
exceeds. Trim the output of some of the earlier steps, to make it
possible to figure out what went wrong in the later steps.

.gitlab-ci.yml

index 2ca9801065b9945cbeee54a31eb452e7fba9a4db..0eb2dcd1024f302d7080207e21676fc751bc2d7c 100644 (file)
@@ -42,21 +42,21 @@ build:
         - pushd yices2
         - autoconf
         - ./configure
-        - make -j$(nproc)
+        - make -j$(nproc) > /dev/null
         - make install
         - popd
 
         - git clone --depth 1 https://github.com/YosysHQ/yosys.git yosys
         - pushd yosys
         - make config-gcc
-        - make -j$(nproc)
+        - make -j$(nproc) > /dev/null
         - make install
         - popd
         - yosys -V
 
         - git clone --depth 1 https://github.com/YosysHQ/SymbiYosys.git SymbiYosys
         - pushd SymbiYosys
-        - make install
+        - make install > /dev/null
         - popd
 
         - git clone --depth 1 https://github.com/nmigen/nmigen.git nmigen
@@ -83,8 +83,8 @@ build:
         - git clone --depth 1 https://git.libre-soc.org/git/openpower-isa.git openpower-isa
         - pushd openpower-isa
         - python3 setup.py develop
-        - make svanalysis
-        - make pywriter
+        - make -j$(nproc) svanalysis > /dev/null
+        - make -j$(nproc) pywriter > /dev/null
         - popd
 
         - git clone --depth 1 https://git.libre-soc.org/git/c4m-jtag.git c4m-jtag
@@ -117,5 +117,5 @@ build:
         - popd
 
         - python setup.py develop
-        - pywriter
+        - pywriter > /dev/null
         - nosetests -v --processes=-1 --process-timeout=120