From d0bc033ab80e6c36378de8e22b0e30db79ab3b75 Mon Sep 17 00:00:00 2001 From: Alessandro Comodi Date: Fri, 26 Mar 2021 12:01:16 +0100 Subject: gh-actions: better yosys caching based on version Signed-off-by: Alessandro Comodi --- .github/ci/build_interchange.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.github/ci') diff --git a/.github/ci/build_interchange.sh b/.github/ci/build_interchange.sh index d20dba67..1d2ee9dc 100755 --- a/.github/ci/build_interchange.sh +++ b/.github/ci/build_interchange.sh @@ -19,10 +19,10 @@ function build_capnp { # Install latest Yosys function build_yosys { - git clone https://github.com/YosysHQ/yosys.git + DESTDIR=`pwd`/.yosys pushd yosys make -j`nproc` - sudo make install + sudo make install DESTDIR=$DESTDIR popd } -- cgit v1.2.3