X-Git-Url: https://git.libre-soc.org/?p=soc.git;a=blobdiff_plain;f=.gitlab-ci.yml;h=de5914acbfaf70c4e53f41b01726c67565c44f20;hp=2a2942ba0b04ae4609a4c53002a30ada4bea63fe;hb=8363616559a0938e60b558016828e7ffda675e92;hpb=cd4cbabf64842fbdb3a276ba8134b9dcd43da4c8 diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a2942ba..de5914ac 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,7 @@ cache: paths: - ccache - .cache/pip - - apt-cache/ + - apt-cache variables: PIP_CACHE_DIR: "$CI_PROJECT_DIR/.cache/pip" @@ -14,14 +14,14 @@ build: stage: build before_script: - mkdir -p apt-cache - - apt-get -o dir::cache::archives="apt-cache" update + - apt-get -o dir::cache::archives="$(pwd)/apt-cache" update - >- - apt-get -o dir::cache::archives="apt-cache" -y install + apt-get -o dir::cache::archives="$(pwd)/apt-cache" -y install build-essential git python3-dev python3-pip python3-setuptools python3-wheel pkg-config tcl-dev libreadline-dev bison flex libffi-dev ccache python3-venv binutils-powerpc64-linux-gnu binutils-powerpc64le-linux-gnu - autoconf gperf libgmp-dev + autoconf gperf libgmp-dev libmpfr-dev libssl-dev - export PATH="/usr/lib/ccache:$PATH" - export CCACHE_BASEDIR="$PWD" - export CCACHE_DIR="$PWD/ccache" @@ -67,6 +67,11 @@ build: - python setup.py develop - popd + - git clone --depth 1 git://git.libre-riscv.org/nmigen-soc.git nmigen-soc + - pushd nmigen-soc + - python setup.py develop + - popd + - git clone --depth 1 git://git.libre-riscv.org/ieee754fpu.git ieee754fpu - pushd ieee754fpu - python setup.py develop