3
0
Fork 0
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:
Krystine Sherwin 2025-11-01 12:43:45 +13:00 committed by Miodrag Milanovic
parent 2d778a94fa
commit 0e2d24edd3
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 }}