summaryrefslogtreecommitdiff
path: root/ci/test3.sh
blob: 5b3b1a2839814bbdbc899fcc3a9320639d4ecace (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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