summaryrefslogtreecommitdiff
path: root/ci/test-mill-built.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/test-mill-built.sh')
-rwxr-xr-xci/test-mill-built.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/ci/test-mill-built.sh b/ci/test-mill-built.sh
new file mode 100755
index 00000000..5b3b1a28
--- /dev/null
+++ b/ci/test-mill-built.sh
@@ -0,0 +1,19 @@
+#!/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 devAssembly
+
+# Second build & run tests using Mill
+
+out/devAssembly/dest/out.jar --all {core,scalalib,scalajslib}.test devAssembly
+out/devAssembly/dest/out.jar integration.test mill.integration.AmmoniteTests
+out/devAssembly/dest/out.jar integration.test "mill.integration.{AcyclicTests,BetterFilesTests,JawnTests}"
+out/devAssembly/dest/out.jar devAssembly