diff --git a/.circleci/config.yml b/.circleci/config.yml index 1d3127deea..77b792799c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -112,6 +112,19 @@ jobs: export LEO=/home/circleci/project/project/bin/leo ./project/.circleci/leo-add-remove.sh + leo-setup: + docker: + - image: cimg/rust:1.50.0 + resource_class: xlarge + steps: + - attach_workspace: + at: /home/circleci/project/ + - run: + name: leo setup + command: | + export LEO=/home/circleci/project/project/bin/leo + ./project/.circleci/leo-setup.sh + workflows: version: 2 main-workflow: @@ -129,3 +142,6 @@ workflows: - leo-add-remove: requires: - rust-stable + - leo-setup: + requires: + - rust-stable diff --git a/.circleci/leo-setup.sh b/.circleci/leo-setup.sh new file mode 100755 index 0000000000..a387a10d1e --- /dev/null +++ b/.circleci/leo-setup.sh @@ -0,0 +1,7 @@ +# leo setup + +cd examples/pedersen-hash || exit 1 +$LEO setup +$LEO setup +$LEO setup --skip-key-check +$LEO clean