mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-14 01:51:23 +00:00
CI: iverilog setup as composite action
Called during setup-build-env.
This commit is contained in:
parent
2d778a94fa
commit
0e2d24edd3
4 changed files with 70 additions and 89 deletions
11
.github/actions/setup-build-env/action.yml
vendored
11
.github/actions/setup-build-env/action.yml
vendored
|
|
@ -5,6 +5,11 @@ inputs:
|
|||
runs-on:
|
||||
required: true
|
||||
type: string
|
||||
get-iverilog:
|
||||
description: 'Install iverilog'
|
||||
default: false
|
||||
required: false
|
||||
type: boolean
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
|
|
@ -38,3 +43,9 @@ runs:
|
|||
echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH
|
||||
echo "$(brew --prefix flex)/bin" >> $GITHUB_PATH
|
||||
echo "procs=$(sysctl -n hw.ncpu)" >> $GITHUB_ENV
|
||||
|
||||
- name: Setup iverilog
|
||||
if: inputs.get-iverilog
|
||||
uses: ./.github/actions/setup-iverilog
|
||||
with:
|
||||
runs-on: ${{ inputs.runs-on }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue