Skip to content

Commit 5b7ade3

Browse files
Add Mill build
1 parent 2bfc5c1 commit 5b7ade3

File tree

9 files changed

+805
-10
lines changed

9 files changed

+805
-10
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ jobs:
4141
- name: Tests
4242
run: |
4343
.github/setup-test-projects.sh &&\
44-
sbt "+jsBridge1/publishLocal" "+jsBridge1/test"
44+
./mill -i "bridges.scalajs-1[_].publishLocal" &&\
45+
./mill -i "bridges.scalajs-1[_].test"
4546
shell: bash
4647

4748
test:
@@ -62,7 +63,8 @@ jobs:
6263
- name: Compile and test main projects
6364
run: |
6465
.github/setup-test-projects.sh &&\
65-
sbt "+backend/test" "+frontend/test"
66+
./mill -i 'backend[_].test' &&\
67+
./mill -i 'frontend[_].test'
6668
shell: bash
6769

6870
release:
@@ -83,7 +85,7 @@ jobs:
8385
with:
8486
jvm: "temurin:17"
8587
- name: Release
86-
run: sbt ci-release
88+
run: ./mill -i io.kipp.mill.ci.release.ReleaseModule/publishAll
8789
env:
8890
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
8991
PGP_SECRET: ${{ secrets.PGP_SECRET }}

.mill-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
0.10.12

benchmarks/src/main/scala/bloop/HotBloopBenchmark.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ abstract class HotBloopBenchmarkBase {
3838
@Setup(Level.Trial) def spawn(): Unit = {
3939
val configDir = CommunityBuild.getConfigDirForBenchmark(project)
4040
val base = configDir.getParent
41-
val bloopClasspath = BuildInfo.fullCompilationClasspath.map(_.getAbsolutePath).mkString(":")
41+
val bloopClasspath = BuildInfo.fullCompilationClasspath.map(_.toString).mkString(":")
4242

4343
val jvmArgs = {
4444
val defaultJvmArgs = List(

0 commit comments

Comments
 (0)