Add BPF C unittest framework

This commit is contained in:
Michael Vines
2018-11-26 10:35:24 -08:00
parent 69beee5416
commit 7bf4c08f70
8 changed files with 130 additions and 26 deletions

View File

@ -3,9 +3,7 @@ set -e
cd "$(dirname "$0")/.."
version=$(./ci/crate-version.sh)
eval "$(ci/channel-info.sh)"
if [[ $BUILDKITE_BRANCH = "$STABLE_CHANNEL" ]]; then
CHANNEL=stable
elif [[ $BUILDKITE_BRANCH = "$EDGE_CHANNEL" ]]; then
@ -17,19 +15,10 @@ fi
echo --- Creating tarball
(
set -x
rm -rf bpf-sdk/
mkdir bpf-sdk/
(
echo "$version"
git rev-parse HEAD
) > bpf-sdk/version.txt
cp -ra programs/bpf/c/sdk/* bpf-sdk/
tar jvcf bpf-sdk.tar.bz2 bpf-sdk/
programs/bpf/c/sdk/scripts/package.sh
[[ -f bpf-sdk.tar.bz2 ]]
)
echo --- AWS S3 Store
if [[ -z $CHANNEL ]]; then
echo Skipped
@ -48,4 +37,3 @@ else
fi
exit 0