infra: Adding kokoro configs.

Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
Tim 'mithro' Ansell 2019-01-08 23:04:24 -08:00
parent 39098dc79e
commit f7724d9157
4 changed files with 47 additions and 0 deletions

1
.github/kokoro/continuous.cfg vendored Normal file
View File

@ -0,0 +1 @@
build_file: "symbiflow-prjxray-artix7/.github/kokoro/full.sh"

44
.github/kokoro/full.sh vendored Executable file
View File

@ -0,0 +1,44 @@
#!/bin/bash
set -e
set -x
sudo apt-get update
sudo apt-get install -y \
bison \
build-essential \
ca-certificates \
clang-format \
cmake \
curl \
flex \
fontconfig \
git \
jq \
python \
python3 \
python3-dev \
python3-virtualenv \
python3-yaml \
virtualenv \
ls -l ~/.Xilinx
sudo chown -R $USER ~/.Xilinx
cd github/symbiflow-prjxray-artix7/
git fetch --tags || true
git describe --tags || true
# Build the C++ tools
make build --output-sync=target --warn-undefined-variables
# Setup the Python environment
make env --output-sync=target --warn-undefined-variables
source settings/artix7.sh
(
export XILINX_LOCAL_USER_DATA=no
cd fuzzers
make --output-sync=target --warn-undefined-variables QUICK=y
)

1
.github/kokoro/presubmit.cfg vendored Normal file
View File

@ -0,0 +1 @@
build_file: "symbiflow-prjxray-artix7/.github/kokoro/quick.sh"

1
.github/kokoro/quick.sh vendored Symbolic link
View File

@ -0,0 +1 @@
full.sh