Skip to content

Commit

Permalink
Revert "Stop running Pugs every day."
Browse files Browse the repository at this point in the history
This reverts commit 6c41218.

Conflicts:
	bin/doit
  • Loading branch information
coke committed Aug 15, 2015
1 parent 29fcc95 commit f6b1285
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/doit
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
#!/bin/sh
./bin/git.p5
<<<<<<< HEAD

# do the JVM tasks first; aftewards we can apply a memory limit.
# (the JVM *really* doesn't like it when it's run under a memory limit,
# greedy thing)

nice -20 ./bin/nqp.jvm.sh
nice -20 ./bin/pugs.sh
nice -20 ./bin/niecza.sh
nice -20 ./bin/rakudo.moar.sh
nice -20 ./bin/rakudo.parrot.sh
nice -20 ./bin/rakudo.jvm.sh

# 4 GB should be enough for everyone!
Expand Down
24 changes: 24 additions & 0 deletions bin/pugs.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/sh

LANG=en_US.UTF-8
export LANG

# Building pugs doesn't like our perlbrew, default to sysperl
PATH=/usr/local/bin:$PATH

#
# Warning - this doesn't handle the case where deps change
# - make dies and says "run cabal configure"
#

rm -rf Pugs.hs
git clone repos/Pugs.hs.git
git clone repos/roast.git Pugs.hs/t/spec
cd Pugs.hs
(cd Pugs && make)
echo "#!/usr/bin/env perl" > perl6
echo '$ENV{PUGS_USE_EXTERNAL_TEST}=1;' >> perl6
echo '$ENV{LC_ALL}="en_US.ISO-8859-1";' >> perl6
echo 'exec "ulimit -t 90; ulimit -v 1260720; ulimit -c 0; nice -20 ./Pugs/pugs -IPugs/ext/Test/lib @ARGV"' >> perl6
chmod a+x ./perl6
perl t/spec/test_summary pugs 2>&1 | tee ../log/pugs_summary.out

0 comments on commit f6b1285

Please sign in to comment.