1
0
Fork 0
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:
Asherah Connor 2024-06-16 13:25:42 +03:00
parent fe20bcd6da
commit 3e8126f5a5

View file

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