Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .circleci/bin/jq
Binary file not shown.
132 changes: 0 additions & 132 deletions .circleci/build

This file was deleted.

58 changes: 0 additions & 58 deletions .circleci/build_local

This file was deleted.

10 changes: 0 additions & 10 deletions .circleci/changed

This file was deleted.

29 changes: 0 additions & 29 deletions .circleci/check_rebuild

This file was deleted.

24 changes: 0 additions & 24 deletions .circleci/cond_spot_run_build

This file was deleted.

31 changes: 0 additions & 31 deletions .circleci/cond_spot_run_script

This file was deleted.

12 changes: 0 additions & 12 deletions .circleci/cond_spot_run_tests

This file was deleted.

22 changes: 12 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,15 @@ checkout: &checkout
chmod 0700 .ssh
ssh-keyscan -t rsa github.com >> .ssh/known_hosts

# A read only key for cloning the repository.
echo $GIT_CHECKOUT_KEY | base64 -d > .ssh/id_rsa

chmod 0600 .ssh/id_rsa

# Shallow checkout this commit.
mkdir -p project
cd project
git init
git remote add origin $CIRCLE_REPOSITORY_URL
git fetch --depth 50 --filter=blob:none origin $CIRCLE_SHA1
git checkout FETCH_HEAD
# Pull in build-system submodule.
git submodule update --init build-system

# This build step checks out the code from the benchmark-archive repository. The key is saved in CircleCi environment in base64 format.
# Initially it just fetches the latest version.
Expand Down Expand Up @@ -82,7 +79,7 @@ benchmark_add_keys: &benchmark_add_keys
setup_env: &setup_env
run:
name: "Setup environment"
command: cd .circleci && ./setup_env "$CIRCLE_SHA1" "$CIRCLE_TAG" "$CIRCLE_JOB" "$CIRCLE_REPOSITORY_URL" "$CIRCLE_BRANCH"
command: ./build-system/scripts/setup_env "$CIRCLE_SHA1" "$CIRCLE_TAG" "$CIRCLE_JOB" "$CIRCLE_REPOSITORY_URL" "$CIRCLE_BRANCH"

# This step is used to save logs from various barretenberg test to the workspace so that they can be used later to parse benchmark values out of them
save_logs: &save_logs
Expand Down Expand Up @@ -236,17 +233,21 @@ jobs:
command: store_test_benchmark_logs barretenberg-x86_64-linux-clang-assert

# Repeatable config for defining the workflow below.
defaults: &defaults
context:
- build
bb_test: &bb_test
requires:
- x86_64-linux-clang-assert
<<: *defaults

workflows:
system:
jobs:
- x86_64-linux-gcc
- x86_64-linux-clang
- x86_64-linux-clang-assert
- wasm-linux-clang
- x86_64-linux-gcc: *defaults
- x86_64-linux-clang: *defaults
- x86_64-linux-clang-assert: *defaults
- wasm-linux-clang: *defaults
- honk-tests: *bb_test
- barretenberg-tests: *bb_test
- stdlib-primitives-tests: *bb_test
Expand All @@ -255,6 +256,7 @@ workflows:
- stdlib-recursion-ultra-tests: *bb_test
- join-split-tests: *bb_test
- benchmark-aggregator:
<<: *defaults
requires:
- barretenberg-tests
- stdlib-primitives-tests
Expand Down
Loading