mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-23 10:12:21 +03:00
add groups example in circleci
This commit is contained in:
parent
a75df0c1f5
commit
0b95c19652
@ -128,7 +128,7 @@ jobs:
|
||||
- attach_workspace:
|
||||
at: /home/circleci/project/
|
||||
- run:
|
||||
name: test helloworld
|
||||
name: test helloworld example
|
||||
command: |
|
||||
export LEO=/home/circleci/project/project/bin/leo
|
||||
./project/.circleci/test-helloworld.sh
|
||||
@ -141,7 +141,7 @@ jobs:
|
||||
- attach_workspace:
|
||||
at: /home/circleci/project/
|
||||
- run:
|
||||
name: test bubblesort
|
||||
name: test bubblesort example
|
||||
command: |
|
||||
export LEO=/home/circleci/project/project/bin/leo
|
||||
./project/.circleci/test-bubblesort.sh
|
||||
@ -154,10 +154,23 @@ jobs:
|
||||
- attach_workspace:
|
||||
at: /home/circleci/project/
|
||||
- run:
|
||||
name: test core
|
||||
name: test core example
|
||||
command: |
|
||||
export LEO=/home/circleci/project/project/bin/leo
|
||||
./project/.circleci/test-core.sh
|
||||
|
||||
test-groups:
|
||||
docker:
|
||||
- image: cimg/rust:1.62
|
||||
resource_class: xlarge
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/circleci/project/
|
||||
- run:
|
||||
name: test groups example
|
||||
command: |
|
||||
export LEO=/home/circleci/project/project/bin/leo
|
||||
./project/.circleci/test-groups.sh
|
||||
workflows:
|
||||
version: 2
|
||||
main-workflow:
|
||||
@ -180,3 +193,6 @@ workflows:
|
||||
- test-core:
|
||||
requires:
|
||||
- leo-executable
|
||||
- test-groups:
|
||||
requires:
|
||||
- leo-executable
|
||||
|
5
.circleci/test-groups.sh
Executable file
5
.circleci/test-groups.sh
Executable file
@ -0,0 +1,5 @@
|
||||
# Build and run the groups Leo program.
|
||||
cd ./project/examples/groups
|
||||
|
||||
# Run `leo run`.
|
||||
$LEO run
|
Loading…
Reference in New Issue
Block a user