Add infrastructure for arm_fpga platform into CI.
This patch adds all the scripts needed for CI to be able to
configure and run tests on the arm_fpga platform.
No run configurations are provided in this patch.
Change-Id: Id371794d1691b9f10d6bbf28bcfd11f9f5ea54e2
Signed-off-by: Javier Almansa Sobrino <javier.almansasobrino@arm.com>
diff --git a/job/tf-worker/run_arm_fpga_test.sh b/job/tf-worker/run_arm_fpga_test.sh
new file mode 100644
index 0000000..daf23f2
--- /dev/null
+++ b/job/tf-worker/run_arm_fpga_test.sh
@@ -0,0 +1,20 @@
+#!/bin/bash
+#
+# Copyright (c) 2020, Arm Limited. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+
+set -e
+
+# Build
+"$CI_ROOT/script/build_package.sh"
+
+if [ "$skip_runs" ]; then
+ exit 0
+fi
+
+# Execute test locally for arm_fpga configs
+if [ "$RUN_CONFIG" != "nil" ] && echo "$RUN_CONFIG" | grep -iq '^arm_fpga'; then
+ "$CI_ROOT/script/test_fpga_payload.sh"
+fi