diff options
| author | Jack Koenig | 2021-03-02 13:42:18 -0800 |
|---|---|---|
| committer | GitHub | 2021-03-02 13:42:18 -0800 |
| commit | 541a70c9489ec90118d45d4c953af0d0a33f8316 (patch) | |
| tree | dd0e3b4e58149ae41b4412d68bac60ea6713573f /.github/workflows | |
| parent | 89e9ab0bb0fd3f1f4a79eaf6209727684a2fa23f (diff) | |
Fix CI Checks (#2097)
Bumping Scala minor version but not bumping CI guards on the version
causes tests to no longer run. Change to using startsWith(...) so that
minor version bumps won't cause issues in the future.
Also run ScalaFmt
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/test.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 31f7ca6a..134670b8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,12 +32,12 @@ jobs: - name: Cache Scala uses: coursier/cache-action@v5 - name: Check Formatting (Scala 2.12 only) - if: matrix.scala == '2.12.12' + if: startsWith(matrix.scala, '2.12') run: sbt ++${{ matrix.scala }} scalafmtCheckAll - name: Unidoc run: sbt ++${{ matrix.scala }} unidoc - - name: Sanity check benchmarking scripts (Scala 2.12 only) - if: matrix.scala == '2.12.12' + - name: Sanity check benchmarking scripts (Scala 2.13 only) + if: startsWith(matrix.scala, '2.13') run: | benchmark/scripts/benchmark_cold_compile.py -N 2 --designs regress/ICache.fir --versions HEAD benchmark/scripts/find_heap_bound.py -- -cp firrtl*jar firrtl.stage.FirrtlMain -i regress/ICache.fir -o out -X verilog |
