mirror of
https://git.sr.ht/~kivikakk/niar
synced 2024-12-22 17:52:23 +00:00
setup-action: add option to install OSS CAD Suite.
This commit is contained in:
parent
fe20bcd6da
commit
3e8126f5a5
|
@ -1,6 +1,12 @@
|
|||
name: Setup Niar
|
||||
|
||||
inputs:
|
||||
install-oss-cad-suite:
|
||||
description: Install OSS CAD Suite.
|
||||
|
||||
github-token:
|
||||
description: GitHub token used by YosysHQ/setup-oss-cad-suite.
|
||||
|
||||
install-zig:
|
||||
description: Install Zig with specified version.
|
||||
|
||||
|
@ -35,6 +41,17 @@ runs:
|
|||
run: pip install --no-deps git+https://github.com/amaranth-lang/amaranth-boards.git
|
||||
shell: bash
|
||||
|
||||
- name: Install OSS CAD Suite
|
||||
if: ${{ inputs.install-oss-cad-suite }}
|
||||
uses: YosysHQ/setup-oss-cad-suite@v3
|
||||
with:
|
||||
github-token: ${{ inputs.github-token }}
|
||||
|
||||
- name: Report Yosys version
|
||||
if: ${{ inputs.install-oss-cad-suite }}
|
||||
run: yosys --version
|
||||
shell: bash
|
||||
|
||||
- name: Install Zig
|
||||
if: ${{ inputs.install-zig }}
|
||||
uses: goto-bus-stop/setup-zig@v2
|
||||
|
|
Loading…
Reference in a new issue