1#!/bin/bash -xe 2# 3# Purpose: 4# This script is responsible for testing the openbmc-build-scripts repository 5# 6# Required Inputs: 7# WORKSPACE: Directory which contains the extracted openbmc-build-scripts 8# directory 9 10export LANG=en_US.UTF8 11 12cd "${WORKSPACE}/openbmc-build-scripts" 13 14# Now run some of our most used CI scripts 15./scripts/build-unit-test-docker 16./scripts/clean-unit-test-docker 17./scripts/build-qemu-robot-docker.sh 18 19# Run a simple CI against 'sdbusplus' to ensure the run-unit-test script works. 20cd "${WORKSPACE}" 21git clone https://github.com/openbmc/sdbusplus 22UNIT_TEST_PKG=sdbusplus "${WORKSPACE}/openbmc-build-scripts/run-unit-test-docker.sh" 23