mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-11-25 21:16:41 +03:00
test core example in circleci
This commit is contained in:
parent
02092b055d
commit
a75df0c1f5
@ -145,6 +145,19 @@ jobs:
|
||||
command: |
|
||||
export LEO=/home/circleci/project/project/bin/leo
|
||||
./project/.circleci/test-bubblesort.sh
|
||||
|
||||
test-core:
|
||||
docker:
|
||||
- image: cimg/rust:1.62
|
||||
resource_class: xlarge
|
||||
steps:
|
||||
- attach_workspace:
|
||||
at: /home/circleci/project/
|
||||
- run:
|
||||
name: test core
|
||||
command: |
|
||||
export LEO=/home/circleci/project/project/bin/leo
|
||||
./project/.circleci/test-core.sh
|
||||
workflows:
|
||||
version: 2
|
||||
main-workflow:
|
||||
@ -162,5 +175,8 @@ workflows:
|
||||
requires:
|
||||
- leo-executable
|
||||
- test-bubblesort:
|
||||
requires:
|
||||
- leo-executable
|
||||
- test-core:
|
||||
requires:
|
||||
- leo-executable
|
5
.circleci/test-core.sh
Executable file
5
.circleci/test-core.sh
Executable file
@ -0,0 +1,5 @@
|
||||
# Build and run the core Leo program.
|
||||
cd ./project/examples/core
|
||||
|
||||
# Run `leo run`.
|
||||
$LEO run
|
Loading…
Reference in New Issue
Block a user