mirror of
https://git.sr.ht/~kivikakk/niar
synced 2024-12-22 17:12:24 +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
|
name: Setup Niar
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
|
install-oss-cad-suite:
|
||||||
|
description: Install OSS CAD Suite.
|
||||||
|
|
||||||
|
github-token:
|
||||||
|
description: GitHub token used by YosysHQ/setup-oss-cad-suite.
|
||||||
|
|
||||||
install-zig:
|
install-zig:
|
||||||
description: Install Zig with specified version.
|
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
|
run: pip install --no-deps git+https://github.com/amaranth-lang/amaranth-boards.git
|
||||||
shell: bash
|
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
|
- name: Install Zig
|
||||||
if: ${{ inputs.install-zig }}
|
if: ${{ inputs.install-zig }}
|
||||||
uses: goto-bus-stop/setup-zig@v2
|
uses: goto-bus-stop/setup-zig@v2
|
||||||
|
|
Loading…
Reference in a new issue