Commit Graph

14 Commits

Author SHA1 Message Date
Jon Cinque fa534e987a
token-upgrade: Add CLI and docs (#3593)
* token-upgrade: Add CLI and docs

* Remove build.rs and build by hand

* Exclude token-upgrade-cli from cargo-build-test

* Use user-friendly token-client response printing

* Make docs consistent with implementation + other feedback

* Remove integer arithmetic

* Make required parameters `required()`
2022-09-15 20:25:40 +02:00
Jon Cinque 93ec6cf74a
token-cli: Split out CI into separate step, run tests in serial (#3425)
* token-cli: Split out CI into separate step, run tests in serial

* Remove dependency on cargo-test-bpf to speed things up

* Don't download programs since they won't be available
2022-08-03 21:54:35 +02:00
Jon Cinque 4d1f8169a9
token-cli: Make BPF program builds in build.rs dependent on env var (#3362)
* token-cli: Make BPF program build dependent on env var

* Do it during `build` and not `test`
2022-07-22 09:30:30 +02:00
Jack May 507f928c0a
Remove themis (#2607) 2021-12-01 12:31:01 -08:00
Jon Cinque de8433e815
ci: Split out test-bpf into separate workflows for each program (#1893)
* ci: Split token, token-swap, and token-lending out

* Remove token lending js in main runner

* token-swap: Update proptest to trigger build

* Remove unused Cargo.lock file

* lending: Update proptest to trigger lending build

* Fix lending test

* Try re-using action

* binary-oracle-pair: Bump token version to trigger build

* Reference action differently

* Add checkout step before local action

* Move out cargo test bpf step

* Add more programs

* Update example file to trigger job

* Update library file to trigger build

* Update name-service file to trigger build

* Update record file to trigger build

* Update shared memory file to trigger build

* Add pull request runners for each probram / library

* Fix pull-request yml file referencing unknown step
2021-06-11 22:35:00 +02:00
Tyera Eulberg 81ad7407d0
Remove debug dir between bpf and host crates (#1461) 2021-03-16 22:51:45 +00:00
Jon Cinque d692ff1505
token-swap: Use solana-test-validator in JS tests (#1367)
* Update swap pool owner in docs

* token-swap: Use solana-test-validator for JS tests

* Revert one more change

* Revert doc change

* Add solana-test-validator to ci

* Fix CI

* Revert docs change

* Move where to deploy programs in CI
2021-03-05 10:34:29 +01:00
Justin Starry f61d7a89a6
lending: Use fair obligation health factor calculation (#1119)
* lending: Use fair health factor calulation and handle dust

* ci: fix github action caching
2021-01-28 15:56:07 +08:00
Michael Vines e7ca84b9ee Disable client_ristretto build 2020-12-03 05:39:55 +00:00
Jack May 686c12984b
Add c examples (#823) 2020-11-11 00:54:15 -08:00
Jack May 7d4e51399a
Add Rust examples (#815) 2020-11-11 00:01:10 -08:00
Michael Vines eafa215c0d Reduce cargo-build-test.sh 2020-11-06 21:29:04 -08:00
Michael Vines 901d43f965 Use cargo-test-bpf 2020-11-06 21:29:04 -08:00
Justin Starry 38bccbfc82
Simplify github action with scripts (#769)
* Simplify github action with scripts

* fix deps

* fix path

* feedback

* feedback

* shift some things

* clean up

* Update pull-request.yml
2020-11-04 10:50:07 +08:00