diff options
| author | Jack Koenig | 2023-01-12 17:22:29 -0800 |
|---|---|---|
| committer | GitHub | 2023-01-12 17:22:29 -0800 |
| commit | 59f62d82f28947af472fc8ed030051be40f5bfbe (patch) | |
| tree | ffadb9de369b502be40e14b6f8f4b504ee717302 /.github | |
| parent | 897d187236f42c1561b904f6dacc21905e59cc28 (diff) | |
Switch from YosysHQ action to composite action (#2592)
Based on https://github.com/chipsalliance/chisel3/pull/2901.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/setup-oss-cad-suite/action.yml | 13 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 12 |
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: |
