Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
Switch from YosysHQ action to composite action
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkoenig committed Jan 13, 2023
1 parent 897d187 commit 9072d12
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/setup-oss-cad-suite/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Setup OSS CAD Suite

runs:
using: composite
steps:
- name: Install Tabby OSS Cad Suite
shell: bash
env:
VERSION: 2021-11-09
run: |
ARTIFACT=oss-cad-suite-linux-x64-$(echo $VERSION | tr -d '-')
wget -q -O - https://github.com/YosysHQ/oss-cad-suite-build/releases/download/${VERSION}/${ARTIFACT}.tgz | tar -zx
echo "$(pwd)/oss-cad-suite/bin" >> $GITHUB_PATH
12 changes: 4 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Tabby OSS Cad Suite (from YosysHQ)
uses: YosysHQ/setup-oss-cad-suite@v1
with:
osscadsuite-version: '2021-11-09'
- name: Install Tabby OSS Cad Suite
uses: ./.github/workflows/setup-oss-cad-suite
- name: Setup Scala
uses: olafurpg/setup-scala@v10
with:
Expand Down Expand Up @@ -75,10 +73,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Tabby OSS Cad Suite (from YosysHQ)
uses: YosysHQ/setup-oss-cad-suite@v1
with:
osscadsuite-version: '2021-11-09'
- name: Install Tabby OSS Cad Suite
uses: ./.github/workflows/setup-oss-cad-suite
- name: Setup Scala
uses: olafurpg/setup-scala@v10
with:
Expand Down

0 comments on commit 9072d12

Please sign in to comment.