Commit Graph

364 Commits

Author SHA1 Message Date
Ryo Onodera aaaee556d8
ci: silence ci test output while recording in full (#30654)
* ci: silence ci test output while recording in full

* shellcheck

* Adjust --color handling place

* Dump to stderr...

* Reduce too spammy solana_metrics logs

* Clean up

* Tweak

* Stash actual command's exit_code, not echo's
2023-03-16 22:17:29 +09:00
Yihau Chen 21f1b652a7
ci: reorg downstream projects (#30463)
reorg downstream projects
2023-02-24 15:55:24 +08:00
Yihau Chen df3ef111f7
chore: workspace inheritance (#29893)
* introduce workspace.package

* introduce workspace.dependencies

* read version from root cargo.toml

* pass check when version = { workspace = true }

* don't bump version when version = { workspace = true }

* including workspace Cargo.toml when bump version

* programs/sbf use workspace inheritance

* fix increasing cargo version ignore program/sbf/Cargo.toml
2023-02-23 22:01:54 +08:00
Steven Luscher a2cf25153f
Fuck this whole web3.js thing (#30062) 2023-02-01 14:34:23 -08:00
Trent Nelson ac5b2ffb39
make `scripts/cargo-fmt.sh` $PWD agnostic (#29919) 2023-01-26 04:03:39 +00:00
Yihau Chen 9193b4221d
Revert "chore: workspace inheritance (#29509)" (#29892)
This reverts commit a67d239dde.
2023-01-25 15:50:41 +08:00
Yihau Chen a67d239dde
chore: workspace inheritance (#29509)
* introduce workspace.package

* introduce workspace.dependencies

* read version from root cargo.toml

* pass check when version = { workspace = true }

* don't bump version when version = { workspace = true }

* including workspace Cargo.toml when bump version

* programs/sbf use workspace inheritance

* fix increasing cargo version ignore program/sbf/Cargo.toml
2023-01-25 13:59:59 +08:00
kirill lykov 8daed75df9
Add toolchain file usage (#29370)
* use cargo in cargo-for-all-lock-files.sh

* replace ./cargo with cargo in ci shell scripts

* remove ./cargo from test-stable.sh
2023-01-17 20:55:41 +01:00
kirill lykov 8d11b28bc0
get rid of ./cargo when building downstream projects (#29372) 2022-12-23 17:02:23 +08:00
Yihau Chen 637d0358ed
ci: add openbook_dex back to downstream project test (#29207)
Revert "ci: don't run openbook_dex downstream-project test temporarily (#29201)"

This reverts commit bcf449158e.
2022-12-13 04:42:07 +00:00
Yihau Chen bcf449158e
ci: don't run openbook_dex downstream-project test temporarily (#29201)
don't run openbook_dex
2022-12-11 04:03:57 +08:00
kirill lykov 731fe3e5da
replace serum-dex with openbook-dex (#28873)
* replace serum-dex with openbook-dex

* force using master for anchor in downstream builds

* fix
2022-11-22 09:41:41 +01:00
kirill lykov f75d7898db
replace serum/anchor with coral-xyz/anchor (#28874) 2022-11-19 16:17:01 +01:00
Yihau Chen d98eb97842
chore: add spl-instruction-padding/program to downstream ci script (#28578)
add spl-instruction-padding/program to ci script
2022-10-25 06:44:33 +00:00
Dmitri Makarov d6813b98d2 chore: move programs/bpf to programs/sbf 2022-10-13 11:40:40 -04:00
Dmitri Makarov f4dd24491f Migrate SDK from BPF to SBF 2022-10-07 08:57:06 -04:00
Will Hickey 8f96a39e73
Remove markdown file update from version increment-cargo-version.sh (#27851)
* Remove markdown file update from version increment-cargo-version.sh
* Update doc version numbers that were incorrectly advanced by increment-cargo-version.sh
* Revert incorrect doc change based on review feedback
2022-09-19 16:37:50 -05:00
Jon Cinque 51ab9627d7
ci: Add spl-token-upgrade to downstream program build (#27826) 2022-09-16 01:50:12 +02:00
Yihau Chen 4071dc3cac
chore: tee coverage test stderr (#27551)
* chore: tee coverage test stderr

* chore: add --no-capture
2022-09-02 19:54:36 +08:00
Yihau Chen 3b01517da6
chore: skip spl downstream project test when the used version too high (#27326)
* skip spl build when solana version too high

* lint
2022-08-24 03:30:30 +00:00
Trent Nelson dcab37ecca update `scripts/cargo-fmt.sh` to reflect changes in 9425478 2022-07-09 00:38:20 +00:00
Justin Starry 0de0d4625e
chore: remove web3 examples (#26515) 2022-07-08 23:14:38 +01:00
Will Hickey 4cfcfe51a0
Update version bump check so it works on master branch (#26146) 2022-06-22 15:26:10 -05:00
Nicholas Rempel 1ee4b412b2 Support local CI on macOS 2022-06-20 08:41:30 -07:00
Will Hickey 3f47c83e5c
Add github action to increment cargo version numbers when a release is published (#25821)
* Add github action to increment cargo version number when a release is published
2022-06-08 16:06:58 -05:00
apfitzge d4a442cf5f
Error on missing greadlink (#25817) 2022-06-08 08:34:53 -05:00
Dmitri Makarov c8e8e81c23 Add cargo sbf tools to install all script 2022-06-06 19:49:54 -07:00
Dmitri Makarov 66366615bb Generate syscall headers 2022-05-05 19:50:54 -07:00
Tyera Eulberg a1b066a438
Support token-2022 in RPC instruction parsing (#24537)
* Use token-2022 dependency in parse_token and add tests for new variants

* Remove test hack

* Bump spl-token-2022 and use new AuthorityType::CloseMint

* Add zk-token-sdk to patch-crates.sh
2022-04-27 19:42:00 +00:00
Jon Cinque 4fda3a3ceb
ci: Fixup downstream build for token-cli (#24403) 2022-04-16 02:46:07 +02:00
Jon Cinque 3d0d7dc8fc
ci: Limit downstream spl projects (#24328)
* ci: Limit downstream spl projects

* Build governance mock addin program before governance
2022-04-15 11:11:12 +02:00
Will Hickey c6dda3b324
Add solana-faucet to the list of dependencies referenced by downstream projects (#23935) 2022-03-25 13:27:31 -05:00
Jon Cinque 7af48465fa
transaction-status: Add return data to meta (#23688)
* transaction-status: Add return data to meta

* Add return data to simulation results

* Use pretty-hex for printing return data

* Update arg name, make TransactionRecord struct

* Rename TransactionRecord -> ExecutionRecord
2022-03-22 23:17:05 +01:00
axleiro cf18292fd3
adding a new script with in_disk_env var 2022-02-25 15:28:04 +05:30
Trent Nelson 97b5a71ceb bump rust to 1.59.0 2022-02-25 08:05:28 +00:00
Justin Starry c97f34a0fd
Add script for running nightly rustfmt on all workspaces (#23244)
* Add script for running nightly rustfmt on all workspaces

* invalidate ci cache
2022-02-22 11:59:06 +08:00
Will Hickey c696944d36
Add --locked to spl-token-cli install (#23223) 2022-02-17 22:09:29 -06:00
Will Hickey 89f5145f64
Add error message for readlink -f failure (#23102)
* Add error message for readlink -f failure
2022-02-14 13:16:13 -06:00
Jeff Biseda d15d495f17
require --no-os-network-limits-test to bypass failed network limit checks (#22617) 2022-02-14 07:48:30 -08:00
Ryo Onodera 34443a238e
Add --full-rpc-api to run.sh (#23072) 2022-02-11 20:38:32 +09:00
sakridge 1b7bc8b284
Limit compiler jobs if the machine has lower than 4gb/thread (#22704) 2022-01-28 23:46:46 +01:00
Jon Cinque f2908ed475
ci: Patch solana-account-decoder for downstream builds (#22472) 2022-01-13 02:02:36 +01:00
joeaba de2a7fdc6c
update influx host 2022-01-11 23:23:15 -05:00
Jon Cinque ec364cc737
ci: Add Anchor and Anchor projects to the downstream build (#22098)
* ci: Add Anchor and Anchor projects to the downstream build

* Separate downstream anchor projects into separate step

* Decrease anchor project build time
2022-01-11 00:21:53 +01:00
Michael Vines 25cb859ed0 Switch from arm64-apple-darwin to aarch64-apple-darwin to align with Rust's target names 2022-01-03 16:54:46 -08:00
Michael Vines 53777f2fbf Add support for arm64-apple-darwin release/channel artifacts 2022-01-03 12:42:57 -08:00
Michael Vines 8d22ca5076 Add helper crate to generate syscalls.txt 2021-12-14 21:20:13 -08:00
Michael Vines e922c2da9d Update to Rust 1.56.1 2021-11-30 23:28:07 -08:00
Benno Fünfstück 46aed1b7f9
Use underscore for hacky rust-analyzer script (#21386)
Using dashes prevents the code from building, which is annoying
if you quickly want to test some hack.
With underscore we get the same effect but the code still builds.
2021-11-26 20:08:46 +09:00
Tyera Eulberg 02f60b0581
Fix serum-dex downstream build (#21114) 2021-11-01 12:17:34 -06:00