X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=.gitlab-ci.yml;h=c3ca516fc2695aced2e4d186b000f0a2694f399e;hb=4f868ac40eeee2317a7bfe9246d737f6342e750e;hp=2ca9801065b9945cbeee54a31eb452e7fba9a4db;hpb=43c106f08bf259afd010cd802d2ef28e73451d22;p=soc.git diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2ca98010..c3ca516f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,13 +5,16 @@ cache: - ccache - .cache/pip - apt-cache + when: 'always' variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" GIT_SUBMODULE_STRATEGY: recursive + GIT_DEPTH: 500 build: stage: build + timeout: 2h before_script: - mkdir -p apt-cache - apt-get -o dir::cache::archives="$(pwd)/apt-cache" update @@ -42,21 +45,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 +86,9 @@ 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) pyfnwriter > /dev/null 2>&1 + - make -j$(nproc) pywriter > /dev/null 2>&1 - popd - git clone --depth 1 https://git.libre-soc.org/git/c4m-jtag.git c4m-jtag @@ -109,7 +113,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 +121,4 @@ build: - popd - python setup.py develop - - pywriter - - nosetests -v --processes=-1 --process-timeout=120 + - nosetests -v --processes=-1 --process-timeout=120 -w src/