From 4a3e333962b6f4964f40e9428bf8c8d6685464ab Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Fri, 4 Aug 2023 18:54:40 +0200 Subject: [PATCH] Add ccache. Try o install yosys in my tree. --- .github/workflows/regression.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 8af54862..1cdd80a2 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -34,18 +34,21 @@ jobs: autotools-dev automake \ libxt-dev libxpm-dev libmotif-dev \ tcl-dev libffi-dev + - name: ccache + uses: hendrikmuhs/ccache-action@v1.2 - name: Build Yosys run: | + export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" cd ${{ github.workspace }}/coriolis-2.x/src/yosys make ENABLE_PYOSYS=1 config-gcc - make ENABLE_PYOSYS=1 PREFIX=${{ github.workspace }}/coriolis-2.x/Linux.x86_64/Release.Shared/install install + make ENABLE_PYOSYS=1 DESTDIR=${{ github.workspace }}/coriolis-2.x/Linux.x86_64/Release.Shared/install install - name: Check for binaries run: ls ${{ github.workspace }}/coriolis-2.x/Linux.x86_64/Release.Shared/install/bin - name: Build Alliance - run: > - ${{ github.workspace }}/coriolis-2.x/src/coriolis/bootstrap/allianceInstaller.sh \ - --github-runner=${{ github.workspace }} + run: | + export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" + ${{ github.workspace }}/coriolis-2.x/src/coriolis/bootstrap/allianceInstaller.sh --github-runner=${{ github.workspace }} - name: Build Coriolis - run: > - ${{ github.workspace }}/coriolis-2.x/src/coriolis/bootstrap/ccb.py \ - --root=${{ github.workspace }}/coriolis-2.x --project=coriolis --make="-j4 install" + run: | + export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH" + ${{ github.workspace }}/coriolis-2.x/src/coriolis/bootstrap/ccb.py --root=${{ github.workspace }}/coriolis-2.x --project=coriolis --make="-j4 install"