blob: cb68b5f8797b58884551ac913c2abe083918858c [file] [log] [blame]
Andrew Geisslerd51439f2021-02-22 16:14:27 -06001#!/bin/bash -xe
2#
3# Purpose:
4# This script is responsible for building all CI machines to get a
5# new CI systems sstate and download caches setup.
6#
7# This script assumes openbmc-build-scripts has been cloned into
8# the WORKSPACE directory.
9#
10# Required Inputs:
11# WORKSPACE: Directory to run the builds out of
12
13export LANG=en_US.UTF8
14
15cd ${WORKSPACE}
16git clone https://github.com/openbmc/openbmc.git
17
18# Ensure everything is built on same filesystem
19export build_dir=${WORKSPACE}/build
20
21export target=rainier
22${WORKSPACE}/openbmc-build-scripts/build-setup.sh
23rm -rf ${WORKSPACE}/openbmc/build
24
25export target=gsj
26${WORKSPACE}/openbmc-build-scripts/build-setup.sh
27rm -rf ${WORKSPACE}/openbmc/build
28
29export target=palmetto
30${WORKSPACE}/openbmc-build-scripts/build-setup.sh
31rm -rf ${WORKSPACE}/openbmc/build
32
33export target=romulus
34${WORKSPACE}/openbmc-build-scripts/build-setup.sh
35rm -rf ${WORKSPACE}/openbmc/build
36
37export target=witherspoon
38${WORKSPACE}/openbmc-build-scripts/build-setup.sh
39rm -rf ${WORKSPACE}/openbmc/build
40
41export target=tiogapass
42${WORKSPACE}/openbmc-build-scripts/build-setup.sh
43rm -rf ${WORKSPACE}/openbmc/build
44
45export target=zaius
46${WORKSPACE}/openbmc-build-scripts/build-setup.sh
47rm -rf ${WORKSPACE}/openbmc/build