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 \ autotools-dev automake \
libxt-dev libxpm-dev libmotif-dev \ libxt-dev libxpm-dev libmotif-dev \
tcl-dev libffi-dev tcl-dev libffi-dev
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2
- name: Build Yosys - name: Build Yosys
run: | run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
cd ${{ github.workspace }}/coriolis-2.x/src/yosys cd ${{ github.workspace }}/coriolis-2.x/src/yosys
make ENABLE_PYOSYS=1 config-gcc 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 - name: Check for binaries
run: ls ${{ github.workspace }}/coriolis-2.x/Linux.x86_64/Release.Shared/install/bin run: ls ${{ github.workspace }}/coriolis-2.x/Linux.x86_64/Release.Shared/install/bin
- name: Build Alliance - name: Build Alliance
run: > run: |
${{ github.workspace }}/coriolis-2.x/src/coriolis/bootstrap/allianceInstaller.sh \ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
--github-runner=${{ github.workspace }} ${{ github.workspace }}/coriolis-2.x/src/coriolis/bootstrap/allianceInstaller.sh --github-runner=${{ github.workspace }}
- name: Build Coriolis - name: Build Coriolis
run: > run: |
${{ github.workspace }}/coriolis-2.x/src/coriolis/bootstrap/ccb.py \ export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
--root=${{ github.workspace }}/coriolis-2.x --project=coriolis --make="-j4 install" ${{ github.workspace }}/coriolis-2.x/src/coriolis/bootstrap/ccb.py --root=${{ github.workspace }}/coriolis-2.x --project=coriolis --make="-j4 install"