update submodule
[soc.git] / .gitlab-ci.yml
index 039871955f8cbe390d122c60af40865c0377b016..25657348ec18244585c435f3c657ff8d0293c780 100644 (file)
@@ -12,6 +12,7 @@ variables:
 
 build:
     stage: build
+    timeout: 2h
     before_script:
         - mkdir -p apt-cache
         - apt-get -o dir::cache::archives="$(pwd)/apt-cache" update
@@ -42,21 +43,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
@@ -80,6 +81,18 @@ build:
         - python setup.py develop
         - popd
 
+        - git clone --depth 1 https://git.libre-soc.org/git/openpower-isa.git openpower-isa
+        - pushd openpower-isa
+        - python3 setup.py develop
+        - make -j$(nproc) svanalysis > /dev/null
+        - make -j$(nproc) pywriter > /dev/null 2>&1
+        - popd
+
+        - git clone --depth 1 https://git.libre-soc.org/git/c4m-jtag.git c4m-jtag
+        - pushd c4m-jtag
+        - python setup.py develop
+        - popd
+
         - IEEE754FPU_PATH="$(pwd)"/ieee754fpu
         - git clone --depth 1 --recursive https://github.com/billzorn/sfpy.git sfpy
         - pushd sfpy
@@ -97,6 +110,13 @@ build:
         - pip install dist/sfpy*.whl
         - popd
 
+        - cargo install maturin
+        - 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
+        - python3 -m pip install target/wheels/*.whl
+        - popd
+
         - python setup.py develop
-        - python src/soc/decoder/pseudo/pywriter.py
+        - pywriter > /dev/null 2>&1
         - nosetests -v --processes=-1 --process-timeout=120