summaryrefslogblamecommitdiff
path: root/ci/test-mill-release.sh
blob: e3755e93768402aac881261e1ec93a41c9ac898e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                          
                                                   
 
                                                  




                                     
                                                              


                                                                                            
#!/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 out/releaseAssembly/dest/out.jar ~/mill-release

git clean -xdf

# Second build & run tests using Mill

~/mill-release all {core,scalalib,scalajslib}.test devAssembly
~/mill-release integration.test mill.integration.AmmoniteTests
~/mill-release integration.test "mill.integration.{AcyclicTests,BetterFilesTests,JawnTests}"
~/mill-release devAssembly