Skip to content

Commit

Permalink
build: migrate to mill 0.12.5
Browse files Browse the repository at this point in the history
Signed-off-by: unlsycn <[email protected]>
  • Loading branch information
unlsycn committed Jan 18, 2025
1 parent 81896e6 commit baab46e
Show file tree
Hide file tree
Showing 22 changed files with 989 additions and 847 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
$CHISEL_FIRTOOL_PATH/firtool -version >> $GITHUB_STEP_SUMMARY
echo \`\`\` >> $GITHUB_STEP_SUMMARY
- name: Test
run: ./mill -j0 firrtl[].test + svsim[].test + chisel[].test
run: ./mill -j0 firrtl.cross[].test + svsim[].test + chisel[].test
- name: Binary compatibility
# TODO either make this also check the plugin or decide that we don't
# support binary compatibility for the plugin
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
dir=$(dirname $(which firtool))
echo "CHISEL_FIRTOOL_PATH=$dir" >> "$GITHUB_ENV"
- name: Integration Tests
run: ./mill -j0 integrationTests[].test
run: ./mill -j0 integration-tests.cross[].test

# Currently just a sanity check that the benchmarking flow works
benchmark:
Expand Down Expand Up @@ -221,7 +221,7 @@ jobs:
distribution: 'adopt'
java-version: '11'
- name: Compile
run: ./mill stdlib[_].compile
run: ./mill stdlib.cross[_].compile

website:
name: Build Mdoc & Website
Expand Down
2 changes: 1 addition & 1 deletion .mill-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.11.8
0.12.5
16 changes: 16 additions & 0 deletions benchmark/package.mill
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package build.benchmark

import mill._
import mill.scalalib._
import mill.scalalib.scalafmt._
import $ivy.`com.lihaoyi::mill-contrib-jmh:`
import mill.contrib.jmh.JmhModule

import build._

object `package` extends RootModule with ScalaModule with JmhModule with ScalafmtModule {
def scalaVersion = v.scalaVersion
def jmhCoreVersion = v.jmhVersion

override def moduleDeps = Seq(chisel(v.scalaVersion))
}
Loading

0 comments on commit baab46e

Please sign in to comment.