Created
April 26, 2013 21:05
-
-
Save tibbe/5470453 to your computer and use it in GitHub Desktop.
Jenkins build script for Cabal and cabal-install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export GHC=$compiler | |
cd Cabal | |
which cabal | |
[ ! -d .cabal-sandbox ] && cabal sandbox init | |
cabal clean | |
cabal install -j --only-dependencies --enable-tests -w $compiler | |
cabal configure --enable-tests -w $compiler | |
cabal build | |
cabal test --test-option='--jxml=$test-suite.junit.xml' --test-option=--plain | |
cabal sdist | |
cd ../cabal-install | |
[ ! -d .cabal-sandbox ] && cabal sandbox init | |
cabal sandbox add-source ../Cabal | |
cabal clean | |
cabal install -j --only-dependencies -w $compiler | |
cabal configure -w $compiler | |
cabal build | |
cabal sdist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment