mirror of https://github.com/YosysHQ/yosys.git
Update iverilog and build-env
This commit is contained in:
parent
18902ddd34
commit
bd1cb398e4
|
|
@ -33,21 +33,21 @@ runs:
|
||||||
# and docs/source/getting_started/installation.rst to match.
|
# and docs/source/getting_started/installation.rst to match.
|
||||||
- name: Linux common dependencies
|
- name: Linux common dependencies
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
uses: awalsh128/cache-apt-pkgs-action@v1.6.0
|
uses: awalsh128/cache-apt-pkgs-action@v1.6.1
|
||||||
with:
|
with:
|
||||||
packages: gawk git make python3
|
packages: gawk git make python3
|
||||||
version: ${{ inputs.runs-on }}-commonys
|
version: ${{ inputs.runs-on }}-commonys
|
||||||
|
|
||||||
- name: Linux build dependencies
|
- name: Linux build dependencies
|
||||||
if: runner.os == 'Linux' && inputs.get-build-deps == 'true'
|
if: runner.os == 'Linux' && inputs.get-build-deps == 'true'
|
||||||
uses: awalsh128/cache-apt-pkgs-action@v1.6.0
|
uses: awalsh128/cache-apt-pkgs-action@v1.6.1
|
||||||
with:
|
with:
|
||||||
packages: bison clang flex libffi-dev libfl-dev libreadline-dev pkg-config tcl-dev zlib1g-dev libgtest-dev libgmock-dev
|
packages: bison clang flex libffi-dev libfl-dev libreadline-dev pkg-config tcl-dev zlib1g-dev libgtest-dev libgmock-dev
|
||||||
version: ${{ inputs.runs-on }}-buildys
|
version: ${{ inputs.runs-on }}-buildys
|
||||||
|
|
||||||
- name: Linux docs dependencies
|
- name: Linux docs dependencies
|
||||||
if: runner.os == 'Linux' && inputs.get-docs-deps == 'true'
|
if: runner.os == 'Linux' && inputs.get-docs-deps == 'true'
|
||||||
uses: awalsh128/cache-apt-pkgs-action@v1.6.0
|
uses: awalsh128/cache-apt-pkgs-action@v1.6.1
|
||||||
with:
|
with:
|
||||||
packages: graphviz xdot
|
packages: graphviz xdot
|
||||||
version: ${{ inputs.runs-on }}-docsys
|
version: ${{ inputs.runs-on }}-docsys
|
||||||
|
|
@ -70,7 +70,7 @@ runs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "${{ github.workspace }}/.local/bin" >> $GITHUB_PATH
|
echo "${{ github.workspace }}/.local/bin" >> $GITHUB_PATH
|
||||||
echo "$(brew --prefix llvm@20)/bin" >> $GITHUB_PATH
|
echo "$(brew --prefix llvm)/bin" >> $GITHUB_PATH
|
||||||
echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH
|
echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH
|
||||||
echo "$(brew --prefix flex)/bin" >> $GITHUB_PATH
|
echo "$(brew --prefix flex)/bin" >> $GITHUB_PATH
|
||||||
echo "procs=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
|
echo "procs=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ runs:
|
||||||
steps:
|
steps:
|
||||||
- name: iverilog Linux deps
|
- name: iverilog Linux deps
|
||||||
if: steps.restore-iverilog.outputs.cache-hit != 'true' && runner.os == 'Linux'
|
if: steps.restore-iverilog.outputs.cache-hit != 'true' && runner.os == 'Linux'
|
||||||
uses: awalsh128/cache-apt-pkgs-action@v1.6.0
|
uses: awalsh128/cache-apt-pkgs-action@v1.6.1
|
||||||
with:
|
with:
|
||||||
packages: autoconf gperf make gcc g++ bison flex libbz2-dev
|
packages: autoconf gperf make gcc g++ bison flex libbz2-dev
|
||||||
version: ${{ inputs.runs-on }}-iverilog
|
version: ${{ inputs.runs-on }}-iverilog
|
||||||
|
|
@ -40,7 +40,7 @@ runs:
|
||||||
make -j$procs
|
make -j$procs
|
||||||
make install
|
make install
|
||||||
|
|
||||||
- uses: actions/cache/restore@v4
|
- uses: actions/cache/restore@v6
|
||||||
id: restore-iverilog
|
id: restore-iverilog
|
||||||
with:
|
with:
|
||||||
path: .local/
|
path: .local/
|
||||||
|
|
@ -62,7 +62,7 @@ runs:
|
||||||
run: |
|
run: |
|
||||||
iverilog -V
|
iverilog -V
|
||||||
|
|
||||||
- uses: actions/cache/save@v4
|
- uses: actions/cache/save@v6
|
||||||
id: save-iverilog
|
id: save-iverilog
|
||||||
if: steps.restore-iverilog.outputs.cache-hit != 'true'
|
if: steps.restore-iverilog.outputs.cache-hit != 'true'
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue