summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rwxr-xr-xci/test4.sh23
1 files changed, 23 insertions, 0 deletions
diff --git a/ci/test4.sh b/ci/test4.sh
new file mode 100755
index 00000000..137cec0e
--- /dev/null
+++ b/ci/test4.sh
@@ -0,0 +1,23 @@
+#!/usr/bin/env bash
+
+set -eux
+
+# Starting from scratch...
+git clean -xdf
+
+# First build using SBT
+sbt bin/test:assembly
+
+# Build Mill using SBT
+target/bin/mill --all _.publishLocal releaseAssembly
+
+mv releaseAssembly ~/mill
+
+git clean -xdf
+
+# Second build & run tests using Mill
+
+~/mill --all {core,scalalib,scalajslib}.test devAssembly
+~/mill integration.test mill.integration.AmmoniteTests
+~/mill integration.test "mill.integration.{AcyclicTests,BetterFilesTests,JawnTests}"
+~/mill devAssembly