diff options
| author | mergify[bot] | 2022-12-20 15:53:29 +0000 |
|---|---|---|
| committer | GitHub | 2022-12-20 15:53:29 +0000 |
| commit | b913a75beb10adf4421d22ae386cbb29d144b774 (patch) | |
| tree | 60c0668d01d0cf94b37f12c1ad148cc673fd4734 /.github/workflows/test.yml | |
| parent | fb6ff513f42187c600c57fcaed162110404e8cf6 (diff) | |
DRY out CI (backport #2903) (#2905)
* DRY out CI (#2903)
* Minor tweaks to setup-oss-cad-suite
* Switch espresso installation to composite action
* Switch circt installation to composite action
(cherry picked from commit dbd5f48a884a236f95c8476d56e28ca911b64a8d)
# Conflicts:
# .github/workflows/test.yml
* resolve backport conflicts
Co-authored-by: Jack Koenig <koenig@sifive.com>
Diffstat (limited to '.github/workflows/test.yml')
| -rw-r--r-- | .github/workflows/test.yml | 17 |
1 files changed, 4 insertions, 13 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fee7019e..dd129812 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -27,13 +27,9 @@ jobs: - name: Install Tabby OSS Cad Suite uses: ./.github/workflows/setup-oss-cad-suite - name: Install Espresso - run: | - cd /tmp - wget https://github.com/chipsalliance/espresso/releases/download/v${{ matrix.espresso }}/x86_64-linux-gnu-espresso - chmod +x x86_64-linux-gnu-espresso - sudo mv x86_64-linux-gnu-espresso /usr/local/bin/espresso - espresso || true - + uses: ./.github/workflows/install-espresso + with: + version: ${{ matrix.espresso }} - name: Setup Scala uses: actions/setup-java@v3 with: @@ -74,12 +70,7 @@ jobs: - name: Install Tabby OSS Cad Suite uses: ./.github/workflows/setup-oss-cad-suite - name: Install Espresso - run: | - cd /tmp - wget https://github.com/chipsalliance/espresso/releases/download/v2.4/x86_64-linux-gnu-espresso - chmod +x x86_64-linux-gnu-espresso - sudo mv x86_64-linux-gnu-espresso /usr/local/bin/espresso - espresso || true + uses: ./.github/workflows/install-espresso - name: Setup Scala uses: actions/setup-java@v3 with: |
