mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-05 22:12:24 +00:00
Update autobuild report
This commit is contained in:
parent
b66d7bf2ef
commit
37fc052d95
3 changed files with 27 additions and 10 deletions
|
|
@ -21,6 +21,7 @@ my %machines = (
|
|||
"osu64" => ['22', 'dave@vim-osu64', 'sh build-oberon.sh sudo oberon/voc gcc ' . $branch],
|
||||
"obs32" => ['22', 'dave@vim-obs32', 'sh build-oberon.sh n vishap/voc gcc ' . $branch],
|
||||
"win32" => ['22', 'dave@vim-win64', 'sh build-oberon.sh n msc-x86/voc msc-x86 ' . $branch],
|
||||
"win64" => ['22', 'dave@vim-win64', 'sh build-oberon.sh n msc-x64/voc msc-x64 ' . $branch],
|
||||
"ce64" => ['5922', 'obe@www', 'sh build-oberon.sh sudo vishap/voc gcc ' . $branch],
|
||||
"fb64" => ['22', 'root@oberon', 'sh build-oberon.sh n vishap/voc gcc ' . $branch]
|
||||
);
|
||||
|
|
|
|||
|
|
@ -46,17 +46,31 @@ sub parselog {
|
|||
open(my $log, $fn) // die "Couldn't open build log $fn.";
|
||||
$branch = "Build on $fn started";
|
||||
while (<$log>) {
|
||||
s/\r//g; # Remove unwanted MS command prompt CR's.
|
||||
|
||||
if (/^([0-9\/]+) ([0-9.]+) .+\.log$/) {$date = $1}
|
||||
if (/^([0-9.]+) /) {$time = $1}
|
||||
# 19.39.58 Configuration: 1.95 [2016/07/14] for gcc LP64 on centos
|
||||
if (/^[^ ]+ Configuration: ([0-9a-zA-Z.]+) \[[0-9\/]+\] for (.+) *$/) {
|
||||
logstatus($fn);
|
||||
$ver = $1;
|
||||
printf "--- Config for $fn: $1 for $2.\n";
|
||||
|
||||
#14.55.15 === build-oberon.sh: $1=sudo, $2=oberon/voc, $3=gcc, $4=master, $sudo=sudo ===
|
||||
if (/^[^ ]+ === build-oberon.sh: .* \$3=([^ ]+), \$4=([^ ]+),/) {
|
||||
($compiler, $branch) = ($1, $2);
|
||||
}
|
||||
if (/^[^ ]+ --- Cleaning branch ([^ ]+) ([^ ]+) ([^ ]+) ([^ ]+) ---$/) {
|
||||
($branch, $os, $compiler, $datamodel) = ($1, $2, $3, $4, $5);
|
||||
|
||||
# 14.55.17 + sudo git checkout -f master
|
||||
if (/^[^ ]+ .*git checkout -f ([^ ]+) *$/) {
|
||||
$branch = $1;
|
||||
}
|
||||
|
||||
# 14.55.17 Configuration: 2.1.0 [2016/12/22] for gcc ILP32 on ubuntu
|
||||
if (/^[^ ]+ Configuration: ([^ ]+) \[[0-9\/]+\] for ([^ ]+) ([^ ]+) on ([^ ]+)/) {
|
||||
($ver, $compiler, $datamodel, $os) = ($1, $2, $3, $4);
|
||||
printf "--- Config for $fn: $1 for $2 $3 on $4.\n";
|
||||
}
|
||||
|
||||
#if (/^[^ ]+ --- Cleaning branch ([^ ]+) ([^ ]+) ([^ ]+) ([^ ]+) ---$/) {
|
||||
# ($branch, $os, $compiler, $datamodel) = ($1, $2, $3, $4, $5);
|
||||
#}
|
||||
|
||||
if (/^([0-9.]+) --- Compiler build started ---$/) {$compilerok = "Started";}
|
||||
if (/^([0-9.]+) --- Compiler build successfull ---$/) {$compilerok = "Built";}
|
||||
|
||||
|
|
@ -78,6 +92,7 @@ sub parselog {
|
|||
if ($compilerok eq "Started") {$compilerok = "Failed";}
|
||||
if ($libraryok eq "Started") {$libraryok = "Failed";}
|
||||
if ($tests eq "Started") {$tests = "Failed";}
|
||||
if ($compiler eq "msc") {$sourcechange = "n/a"; $tests = "n/a";}
|
||||
}
|
||||
}
|
||||
close($log);
|
||||
|
|
@ -110,8 +125,9 @@ sub svgtext {
|
|||
|
||||
sub colourfor {
|
||||
my ($str) = @_;
|
||||
if ($str eq "Failed") {return "#e03030";}
|
||||
if ($str eq "Changed") {return "#ff9d4d";}
|
||||
if ($str eq "Failed") {return "#e03030";}
|
||||
if ($str eq "Changed") {return "#ff9d4d";}
|
||||
if ($str eq "n/a") {return "#707070";}
|
||||
return "#5adb5a";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ void determineCCompiler() {
|
|||
cc = "gcc -fPIC -g" optimize;
|
||||
}
|
||||
#elif defined(_MSC_VER)
|
||||
compiler = "MSC";
|
||||
compiler = "msc";
|
||||
cc = "cl /nologo";
|
||||
objext = ".obj";
|
||||
objflag = " -Fe";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue