1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
---
version: 0.2
env:
variables:
# CODEBUILD_ is a reserved namespace.
CB_BIN_DIR: "./codebuild/bin"
phases:
install:
runtime-versions:
python: 3.x
commands:
- |
if [ -d "third-party-src" ]; then
cd third-party-src;
fi
- $CB_BIN_DIR/install_ubuntu_dependencies.sh
build:
commands:
- $CB_BIN_DIR/criterion_baseline.sh
- mkdir -p tests/integrationv2/target/criterion
- echo "{id:$CODEBUILD_BUILD_ID}" >> tests/integrationv2/target/criterion/artifact.json
artifacts:
files:
- "**/index.html"
- "**/*.svg"
- "**/*.json"
base-directory: "tests/integrationv2/target/criterion"
discard-paths: no
|