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"