diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/setup-oss-cad-suite/action.yml | 14 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 14 |
2 files changed, 18 insertions, 10 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..9383d56b --- /dev/null +++ b/.github/workflows/setup-oss-cad-suite/action.yml @@ -0,0 +1,14 @@ +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 a56fa85f..fee7019e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,12 +24,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - - 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: Install Espresso run: | cd /tmp @@ -75,10 +71,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 - - 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: Install Espresso run: | cd /tmp |
