aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/setup-oss-cad-suite/action.yml13
-rw-r--r--.github/workflows/test.yml12
2 files changed, 17 insertions, 8 deletions
diff --git a/.github/workflows/setup-oss-cad-suite/action.yml b/.github/workflows/setup-oss-cad-suite/action.yml
new file mode 100644
index 00000000..94062951
--- /dev/null
+++ b/.github/workflows/setup-oss-cad-suite/action.yml
@@ -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
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 98389764..38febb1c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -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:
@@ -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: