mirror of
https://github.com/AleoHQ/leo.git
synced 2024-11-25 05:36:50 +03:00
Add leo setup to circleci
This commit is contained in:
parent
4cb0334453
commit
c3d08e9c6c
@ -112,6 +112,19 @@ jobs:
|
|||||||
export LEO=/home/circleci/project/project/bin/leo
|
export LEO=/home/circleci/project/project/bin/leo
|
||||||
./project/.circleci/leo-add-remove.sh
|
./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:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
main-workflow:
|
main-workflow:
|
||||||
@ -129,3 +142,6 @@ workflows:
|
|||||||
- leo-add-remove:
|
- leo-add-remove:
|
||||||
requires:
|
requires:
|
||||||
- rust-stable
|
- rust-stable
|
||||||
|
- leo-setup:
|
||||||
|
requires:
|
||||||
|
- rust-stable
|
||||||
|
7
.circleci/leo-setup.sh
Executable file
7
.circleci/leo-setup.sh
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
# leo setup
|
||||||
|
|
||||||
|
cd examples/pedersen-hash || exit 1
|
||||||
|
$LEO setup
|
||||||
|
$LEO setup
|
||||||
|
$LEO setup --skip-key-check
|
||||||
|
$LEO clean
|
Loading…
Reference in New Issue
Block a user