Skip to content
Snippets Groups Projects
Commit 175895a2 authored by Oz Linden's avatar Oz Linden
Browse files

add build_docs step and experimental use of autobuild graph subcommand

parent 22a613df
No related branches found
No related tags found
No related merge requests found
...@@ -11,6 +11,7 @@ Linux.symbolfiles = "newview/secondlife-symbols-linux.tar.bz2" ...@@ -11,6 +11,7 @@ Linux.symbolfiles = "newview/secondlife-symbols-linux.tar.bz2"
# Use Public Upload Locations # Use Public Upload Locations
public_build = true public_build = true
build_docs = true
# skip windows debug build until we can get a fix in. # skip windows debug build until we can get a fix in.
build_CYGWIN_Debug = false build_CYGWIN_Debug = false
......
#!/bin/sh #!/bin/sh
# This is a the master build script - it is intended to be run by parabuild # This is a the master build script - it is intended to be run by the Linden
# Lab build farm
# It is called by a wrapper script in the shared repository which sets up # It is called by a wrapper script in the shared repository which sets up
# the environment from the various BuildParams files and does all the build # the environment from the various BuildParams files and does all the build
# result post-processing. # result post-processing.
...@@ -12,8 +13,6 @@ ...@@ -12,8 +13,6 @@
# * The special style in which python is invoked is intentional to permit # * The special style in which python is invoked is intentional to permit
# use of a native python install on windows - which requires paths in DOS form # use of a native python install on windows - which requires paths in DOS form
# * This script relies heavily on parameters defined in BuildParams # * This script relies heavily on parameters defined in BuildParams
# * The basic convention is that the build name can be mapped onto a mercurial URL,
# which is also used as the "branch" name.
check_for() check_for()
{ {
...@@ -172,11 +171,17 @@ build() ...@@ -172,11 +171,17 @@ build()
# This is called from the branch independent script upon completion of all platform builds. # This is called from the branch independent script upon completion of all platform builds.
build_docs() build_docs()
{ {
begin_section Docs begin_section "Building Documentation"
begin_section "Stub documentation.txt"
# Stub code to generate docs # Stub code to generate docs
echo Hello world > documentation.txt echo Hello world > documentation.txt
upload_item docs documentation.txt text/plain upload_item docs documentation.txt text/plain
end_section Docs end_section "Stub documentation.txt"
begin_section "Dependency Graph"
depends_graph="$build_dir/dependancies.png"
"$AUTOBUILD" graph --output "$depends_graph" && record_event "autobuild graph succeeded" || record_event "autobuild graph failed"
end_section "Dependency Graph"
end_section "Building Documentation"
} }
...@@ -375,7 +380,6 @@ then ...@@ -375,7 +380,6 @@ then
fi fi
fi fi
# check status and upload results to S3 # check status and upload results to S3
if $succeeded if $succeeded
then then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment