Commit Graph

198 Commits

Author SHA1 Message Date
Pranav Gaddamadugu
e4e228c419 Merge branch 'mainnet' into update/from-testnet3 2024-05-14 14:47:33 -07:00
Pranav Gaddamadugu
b0ef7a8f46 Update testnet3 to mainnet 2024-05-14 13:31:33 -07:00
Pranav Gaddamadugu
d2b1d055ce Update tests and fix 2024-05-13 11:09:15 -07:00
Pranav Gaddamadugu
e7ddc5240f Update CI 2024-04-02 10:46:00 -07:00
Pranav Gaddamadugu
0d0c598748 Update examples 2024-01-15 15:45:09 -08:00
Pranav Gaddamadugu
c8377f7efe Fix CI 2024-01-15 15:45:08 -08:00
Pranav Gaddamadugu
5fea268d04 Update examples and CI 2024-01-15 15:45:08 -08:00
Pranav Gaddamadugu
7e145728e0 Update CI and examples 2024-01-15 15:45:08 -08:00
evan-schott
902387d639
Merge branch 'testnet3' into feat/stubs
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-01-03 15:22:04 -05:00
evan-schott
de8b2a2cad make example compatible w/ stubs 2023-12-11 13:19:42 -08:00
Pranav Gaddamadugu
220eef35de Add timeout to CI 2023-12-04 18:29:31 -08:00
Pranav Gaddamadugu
4a0228bcac Update CI rust version 2023-11-27 17:18:48 -08:00
Collin Chin
700e31f113
fix leo execute command line argument parsing (#2530)
* fix leo execute command line argument parsing

* add leo-examples integration test to ci and include leo execute commands

* give leo-example.sh execute permission
2023-08-15 13:59:50 -07:00
Collin Chin
92386438fc
commit run scripts, bump rust ci img versions (#2526) 2023-08-15 08:48:18 -07:00
Collin Chin
12570e4602
Commit leo example tests (#2524)
* commit leo example tests

* improve leo example readme's and ci

* commit leo token example script
2023-08-14 15:26:55 -07:00
d0cd
b236918df4
[Feature] Support ChaCha::rand_* (#2433)
* Add tests for ChaCha::rand*

* Add Chacha::rand* to AST, tyc, and codegen

* Add lottery example

* Regen expectations

* Add check asserting that command is only used in finalize block

* Update example and related CI
2023-06-28 21:02:50 -07:00
Collin Chin
d83c4be330
Implement Mapping::get_or_use (#2413)
* get_or_init -> get_or_use

* use mapping get_or_use in examples

* fix codegen for Mapping::get_or_use

* fix tests for Mapping::get_or_use

* fix warnings, update snarvm rev

* bump circle rust img v1.70

* fix codegen

* update snarkvm rev and regen tests

* Update compiler/parser/src/parser/expression.rs

Co-authored-by: d0cd <pranavsaig@gmail.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>

* Delete program.json

Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>

* Delete program.json

Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>

---------

Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
Co-authored-by: d0cd <pranavsaig@gmail.com>
2023-06-13 12:09:33 -07:00
d0cd
d0c29ce8e0
[Update] snarkvm 0.11.0 (#2377)
* Remove gates from tests

* Remove Finalize test namespace

* Remove gates from examples

* Remove gates from compiler

* Regen expectations

* Add test that gates is allowed as a standard field of a record

* Update Rust version in CI

* Add check for MAX_MAPPINGS
2023-05-10 21:32:37 -07:00
Pranav Gaddamadugu
440d19e42f Update CI 2023-03-27 08:55:45 -07:00
Pranav Gaddamadugu
61381e6db2 Update CI to nightly fmt and stable clippy 2023-03-27 08:28:26 -07:00
d0cd
d8bdd355ee Fix exported variables in CI 2023-02-16 13:04:14 -08:00
d0cd
751e79a66e More fixes to example scripts
WIP scripts

WIP alias leo

WIP alias leo

WIP alias leo
2023-02-16 12:51:19 -08:00
d0cd
9ad7a0477c Update example scripts 2023-02-16 09:13:51 -08:00
d0cd
baf34e2ecc Check exit codes in scripts 2023-02-16 08:49:13 -08:00
d0cd
5ea40453c2 Update test-examples.sh and CI config 2023-02-16 07:40:29 -08:00
d0cd
37984be2e3 Update test-examples.sh 2023-02-16 07:37:26 -08:00
d0cd
03c7d226e8 Alias the built executable 2023-02-15 23:10:57 -08:00
d0cd
c00a1582d6 Fix and add logging for test-examples.sh 2023-02-15 22:02:27 -08:00
d0cd
6704b4c4ed Remove pipe to null in leo-new 2023-02-15 21:57:26 -08:00
collin
7802d7b55b bump circle rust img v1.65 2022-11-23 00:27:48 -05:00
collin
07357442a9 Steal pranav's clever bash script to pull universal parameters 2022-09-23 10:42:07 -07:00
collin
6e89652210 update check-examples circle ci script 2022-09-21 16:45:13 -07:00
collin
eafd265f75 unify leo examples with workshop, run all examples in circleci 2022-09-21 15:59:33 -07:00
collin
0e17e994f8 run leo build in leo-new.sh script 2022-09-20 10:52:29 -07:00
Collin Chin
7501130e52
Merge pull request #2076 from AleoHQ/example/auction
Update auction example.
2022-09-20 10:39:58 -07:00
Pranav Gaddamadugu
ff9945860f Update CI 2022-09-20 08:38:05 -07:00
Pranav Gaddamadugu
8bf52dd1f4 Update CI 2022-09-19 19:32:31 -07:00
Pranav Gaddamadugu
f45a248194 Update CI 2022-09-19 18:59:33 -07:00
collin
4e05840bf5 bump ci rust version to 1.63 2022-09-16 18:19:20 +02:00
collin
834ea300aa bump ci rust version to 1.65 2022-09-16 18:17:10 +02:00
Pranav Gaddamadugu
ae8b3b8f8e Update CI to run hackers-delight examples 2022-09-13 17:23:24 +02:00
Pranav Gaddamadugu
0fa8082656 Update token example 2022-09-06 12:14:36 -07:00
d0cd
541209a92c
Merge pull request #1997 from AleoHQ/example-twoadicity
[examples] twoadicity: number of factors of two in field value
2022-08-15 08:52:10 -07:00
Collin Chin
52060b0fe8
Merge pull request #1993 from AleoHQ/example-tictactoe
[examples] A tic-tac-toe app.
2022-08-09 16:19:26 -07:00
Collin Chin
0160ad02ca
Merge pull request #1991 from AleoHQ/example-auction
[examples] A very simple auction-related example.
2022-08-09 16:19:07 -07:00
collin
f5d504ed8d add two-adicity example to circleci 2022-08-09 16:05:28 -07:00
collin
421973fc3d add auction example to circleci 2022-08-09 16:01:56 -07:00
collin
66816d4026 add tic tac toe example to circle ci 2022-08-09 16:01:31 -07:00
collin
ee84bfe171 run interest examples in circle ci 2022-08-08 16:05:14 -07:00
collin
c7415a1cce run all Leo examples 2022-08-08 15:32:41 -07:00
collin
1cbeadc374 consolidate run examples into a single test script 2022-08-08 15:20:29 -07:00
collin
0b95c19652 add groups example in circleci 2022-08-08 15:07:42 -07:00
collin
a75df0c1f5 test core example in circleci 2022-08-08 11:54:52 -07:00
collin
02092b055d test bubblesort in circleci 2022-08-08 11:53:20 -07:00
collin
5cb6150b39 mark hellworld as executable 2022-08-08 11:38:00 -07:00
collin
1aef4987c2 fix config.yml 2022-08-08 11:25:21 -07:00
collin
d10c3943cc add test helloworld to circleci 2022-08-08 11:21:08 -07:00
collin
59bcaa9a60 leo run helloworld in circleci 2022-08-08 11:15:11 -07:00
collin
7ffbee2952 patch leo-clean ci 2022-08-05 11:30:53 -07:00
collin
8f9c7efbed fix program names 2022-08-05 11:14:58 -07:00
collin
19f51875b9 update config.yml 2022-08-05 11:06:17 -07:00
collin
1e5142a8a2 prepare for testnet3 as repo branch 2022-07-18 18:28:23 -07:00
Pranav Gaddamadugu
c67e816a6c Bump rust version 2022-07-18 11:25:20 -07:00
collin
41a5a39380 circleci use 1.61 2022-07-06 20:50:33 -07:00
collin
0e5ad5e385 update circle ci config 2022-07-06 20:14:20 -07:00
0rphon
10c62b8d2c
updates CircleCI to use 1.59.0 (#1687) 2022-03-15 17:48:13 -07:00
collin
3892bd379f comment out unused ci's 2022-02-07 12:00:42 -05:00
collin
a428765829 merge testnet2 2022-01-21 13:06:30 -08:00
collin
30302c12c6 CI: remove constraint check for refactor 2022-01-21 13:04:57 -08:00
gluax
a367bfebe3 forgot we needed to update the ci's as well. 2022-01-21 12:15:10 -08:00
damirka
a04249976e Merge branch 'master' into leo-manifest-dependencies 2021-08-19 18:04:05 +03:00
gluaxspeed
8ca3ab465e circleci updated rust version 2021-08-13 10:48:38 -07:00
gluaxspeed
51e8ea49de no circle ci image for rustc 1.54.0 yet 2021-08-10 20:05:15 -07:00
gluaxspeed
622ff5a9c3 finish docs, setup ci to publish docs pages, test docs generation 2021-08-10 19:59:27 -07:00
gluaxspeed
2f045e13cc create docs job, update ciricle ci rust version 2021-08-10 14:35:30 -07:00
damirka
49c3d4b06f Merge branch 'master' into leo-manifest-dependencies 2021-08-04 23:04:37 +03:00
damirka
50eae0d278 fix ci 2021-07-19 19:53:20 +03:00
gluaxspeed
b96609f839 merge master 2021-07-18 19:58:34 -07:00
damirka
2c58bf30a0 Merge branch 'master' into leo-manifest-dependencies 2021-07-19 01:15:32 +03:00
damirka
c36be2c745 finalizes import stabilization
- temporarily disables leo add and leo rm
- lock file is parsed by leo build and used
- error messages improved for some cases
- fetch test is added and improved
2021-07-18 23:40:26 +03:00
weikeng
fef7fe6c90 update the test as well as ci 2021-07-17 01:55:11 -07:00
howardwu
97c5dd12f4 Update CI to Rust 1.53 2021-07-17 00:47:31 -07:00
gluaxspeed
6f9682724e I don't know our code-coverage secrets or how to get it 2021-07-16 02:19:11 -07:00
gluaxspeed
b8dcad44cc tests on github actions its easier cache platforms 2021-07-14 18:05:40 -07:00
gluaxspeed
1168354a5c ci changes remove nightly asides from fmt 2021-07-14 13:26:32 -07:00
damirka
a648552043 remove random r file in .circleci 2021-07-13 13:47:45 +03:00
damirka
d79b49be84 bump to 1.52.1 in CI 2021-06-28 22:15:56 +03:00
damirka
7205fbe22a fixed env variable 2021-06-24 20:13:18 +03:00
damirka
c229e41790 updates CI to check imports 2021-06-24 20:12:24 +03:00
Collin Chin
83c41769c1
Merge pull request #812 from AleoHQ/ci/add-constraints-check
[CI] Adds Pedersen Hash constraints check
2021-04-21 15:23:09 -07:00
collin
d1c9f0e99c enable leo clone test 2021-04-21 14:09:15 -07:00
Collin Chin
efa3f78362
Merge pull request #857 from AleoHQ/feature/cli-dpii-updates
[CLI, Feature] Adds username substitution to manifest, improves login and error messages
2021-04-15 12:31:47 -07:00
collin
ad5572f3ce comment out leo-clone ci check yaml main workflow 2021-04-15 11:33:22 -07:00
collin
540219e106 comment out leo-clone ci check yaml 2021-04-15 11:29:27 -07:00
collin
d8e021107c comment out leo-clone ci check 2021-04-15 11:20:58 -07:00
damirka
fee71becad fixes ci not showing credentials 2021-04-12 17:21:13 +03:00
damirka
9104ed4f91 debug .ci 2021-04-12 17:12:07 +03:00
damirka
f3c97390ee adds name substitution on leo new and init
- only adds a name if user is already logged in
- if not, puts [AUTHOR] as it was previously
- before publishing author field is checked in Leo.toml and better error message returned
2021-04-12 16:54:37 +03:00
damirka
3b649f32f4 fixes CI 2021-04-08 18:12:34 +03:00
damirka
166be0874c Merge branch 'master' into feature/leo-path-cli 2021-04-08 17:47:20 +03:00