summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
Diffstat (limited to 'ci')
-rwxr-xr-xci/test.sh12
-rwxr-xr-xci/test2.sh15
-rwxr-xr-xci/test3.sh19
3 files changed, 46 insertions, 0 deletions
diff --git a/ci/test.sh b/ci/test.sh
new file mode 100755
index 00000000..b03523e1
--- /dev/null
+++ b/ci/test.sh
@@ -0,0 +1,12 @@
+#!/usr/bin/env bash
+
+set -eux
+
+# Starting from scratch...
+git clean -xdf
+
+# First build & run tests using SBT
+sbt core/test scalalib/test scalajslib/test
+sbt integration/test
+sbt bin/test:assembly
+
diff --git a/ci/test2.sh b/ci/test2.sh
new file mode 100755
index 00000000..2ab4bca2
--- /dev/null
+++ b/ci/test2.sh
@@ -0,0 +1,15 @@
+#!/usr/bin/env bash
+
+set -eux
+
+# Starting from scratch...
+git clean -xdf
+
+
+sbt bin/test:assembly
+# Run tests using
+bin/target/mill core.test
+bin/target/mill scalalib.test
+bin/target/mill scalajslib.test
+bin/target/mill integration.test
+bin/target/mill devAssembly
diff --git a/ci/test3.sh b/ci/test3.sh
new file mode 100755
index 00000000..91ce02b3
--- /dev/null
+++ b/ci/test3.sh
@@ -0,0 +1,19 @@
+#!/usr/bin/env bash
+
+set -eux
+
+# Starting from scratch...
+git clean -xdf
+
+# First build & run tests using SBT
+sbt bin/test:assembly
+
+# Build Mill using SBT
+bin/target/mill devAssembly
+
+# Second build & run tests using Mill
+out/devAssembly/dest core.test
+out/devAssembly/dest scalalib.test
+out/devAssembly/dest scalajslib.test
+out/devAssembly/dest integration.test
+out/devAssembly/dest devAssembly