diff options
| author | Jack Koenig | 2021-01-26 11:14:33 -0800 |
|---|---|---|
| committer | GitHub | 2021-01-26 11:14:33 -0800 |
| commit | aec9e9e61f9b6775bf313601ec5a44a34f608609 (patch) | |
| tree | 8ea5b20ce5caeaa0d5d16b9d9859a5b717c7c99c /.github/workflows/test.yml | |
| parent | e32309412f7da6e0e50f4aae23baa79e61857f9b (diff) | |
Fix post-merge publishing (#2055)
* Check Unidoc on all versions of Scala
It is required for publishing and we publish every version
* Fix conflicting cross-version suffixes issue
When running `sbt ++2.13.4 unidoc`, SBT would set the Scala version
for the fuzzer and benchmark projects even though they aren't really
relevant to the command. This may be a misconfiguration or a bug in
the unidoc plugin. Whatever the case, simply making it possible for
them to use the same version of Scala as the firrtl project (on which
they depend) fixes the issue.
* Match versions of Scala in build.sbt and CI
* Fix unidoc issues in 2.13.4
There is some bug in ScalaDoc not finding some links in firrtl.options
so those links were made absolute as a workaround.
Diffstat (limited to '.github/workflows/test.yml')
| -rw-r--r-- | .github/workflows/test.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 18a680f5..31f7ca6a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - scala: [2.13.2, 2.12.12, 2.11.12] + scala: [2.13.4, 2.12.13, 2.11.12] container: image: ucbbar/chisel3-tools options: --user github --entrypoint /bin/bash @@ -34,8 +34,7 @@ jobs: - name: Check Formatting (Scala 2.12 only) if: matrix.scala == '2.12.12' run: sbt ++${{ matrix.scala }} scalafmtCheckAll - - name: Unidoc builds (Scala 2.12 only) - if: matrix.scala == '2.12.12' + - name: Unidoc run: sbt ++${{ matrix.scala }} unidoc - name: Sanity check benchmarking scripts (Scala 2.12 only) if: matrix.scala == '2.12.12' |
