diff options
| author | Jiuyang Liu | 2021-07-15 02:32:06 +0800 |
|---|---|---|
| committer | GitHub | 2021-07-14 11:32:06 -0700 |
| commit | 695864f5716626a15a7798dae048d8301940a2db (patch) | |
| tree | 2a8468822ed0230c581e1ff445f4d7842db5e78e /.github/workflows | |
| parent | 6bb23419e4044ba520a7e2e88b0179eabc131c6e (diff) | |
Espresso Decoder (#1964)
Co-authored-by: Haoran Yuan <sinofp@tuta.io>
Co-authored-by: Boyang Han <yqszxx@gmail.com>
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/test.yml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6d68ad1a..b2620d2f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,6 +19,7 @@ jobs: scala: ["2.13.6", "2.12.13"] verilator: ["4.204"] z3: ["4.8.10"] + espresso: ["2.4"] runs-on: ${{ matrix.system }} steps: @@ -74,6 +75,28 @@ jobs: sudo make install verilator --version + - name: Cache Espresso ${{ matrix.espresso }} + uses: actions/cache@v2 + id: cache-espresso + with: + path: espresso-${{ matrix.espresso }} + key: ${{ matrix.system }}-espresso-${{ matrix.espresso }} + - name: Compile Espresso ${{ matrix.espresso }} + if: steps.cache-espresso.outputs.cache-hit != 'true' + run: | + wget https://github.com/chipsalliance/espresso/archive/refs/tags/v${{ matrix.espresso }}.tar.gz + tar xvf v${{ matrix.espresso }}.tar.gz + cd espresso-${{ matrix.espresso }} + mkdir -p build + cd build + cmake .. + make + - name: Install Espresso ${{ matrix.espresso }} + run: | + cd espresso-${{ matrix.espresso }}/build + sudo make install + + - name: Setup Scala uses: olafurpg/setup-scala@v10 with: |
