Add ccache. Try o install yosys in my tree.

This commit is contained in:
Jean-Paul Chaput 2023-08-04 18:54:40 +02:00
parent 67df43bfc8
commit 4a3e333962
1 changed files with 10 additions and 7 deletions

View File

@ -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"