3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-11-25 06:59:33 +00:00

CI: iverilog setup as composite action

Called during setup-build-env.
This commit is contained in:
Krystine Sherwin 2025-11-01 12:43:45 +13:00
parent fc075b901c
commit 4aa075be46
No known key found for this signature in database
4 changed files with 70 additions and 89 deletions

View file

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