New simpler pipeline
Adding basic script to generate combinations of builds in python.
Probably can use some existing script for this, but this was simpler to
get working with pipeline.
Pipeline to query the python script for build configuration names,
obtain parameters for them, then trigger downstream jobs for them. Does
not yet run any LAVA tests.
Also putting build commands into this repository instead of just being
in the job. This makes it far easier to reproduce what would be run in
Jenkins.
Change-Id: Ie1a7431eb38191e7fcd23edebd284537878e2dde
Signed-off-by: Dean Birch <dean.birch@arm.com>
diff --git a/build-docs.sh b/build-docs.sh
new file mode 100755
index 0000000..c8f62e3
--- /dev/null
+++ b/build-docs.sh
@@ -0,0 +1,19 @@
+#!/bin/bash
+#-------------------------------------------------------------------------------
+# Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#-------------------------------------------------------------------------------
+
+#
+# Used for CI to build the docs.
+# Expected to have trusted-firmware-m cloned to same level as this git tree
+#
+
+set -ex
+mkdir trusted-firmware-m/build
+cd trusted-firmware-m/build
+cmake ../ -G"Unix Makefiles" -DTARGET_PLATFORM=AN521 -DCOMPILER=GNUARM
+cmake --build ./ -- install_doc
+cmake --build ./ -- install_userguide