cargo-install-all: use full path for sourcing (#34525)
Use full path for sourcing
(cherry picked from commit 51c9963a60)
Co-authored-by: Tyera <tyera@solana.com>
CI: add check for explicit spl-token-cli version (#34430)
* Add script to specify spl-token-cli version
* Add check for spl-token-cli version to CI
* Add minor release branch cleanup instruction to unblock CI on the new stable branch
---------
Co-authored-by: Will Hickey <will.hickey@solana.com>
(cherry picked from commit e6e191f843)
Co-authored-by: Tyera <tyera@solana.com>
* ci: add macos clippy test (#34272)
* ci: add clippy test for macos and windows
* ci: remove windows from clippy test
* ci: cancel cargo clippy on Github Actions when new commits comming
* ci: set -e for .github/scripts/cargo-clippy-before-script.sh
(cherry picked from commit 4832b4ecec)
* scripts/cargo-clippy.sh: Extract our non-trivial cargo clippy command (manual backport of #33982)
---------
Co-authored-by: Yihau Chen <a122092487@gmail.com>
Co-authored-by: yihau <yihau.chen@icloud.com>
Add --release-with-debug option to cargo-install-all.sh (#33383)
* Add --canary option to cargo-install-all for building with separate debug symbols
* lint
* Remove debug-assertions
* switch flag from --canary to --release-with-debug
(cherry picked from commit 87b4dc64e3)
Co-authored-by: Will Hickey <will.hickey@solana.com>
Update Solang Solidity compiler to v0.3.3 (#33830)
Signed-off-by: Sean Young <sean@mess.org>
(cherry picked from commit 8e0acf481c)
Co-authored-by: Sean Young <sean@mess.org>
Deprecate bz2/gzip/none/tar snapshot compression types (#33484)
These options are now disallowed on the command line for
solana-validator and solana-ledger-tool, which effectively means no more
snapshots will be created with this types in normal usecases. However,
support for reading the deprecated types is still in place.
(cherry picked from commit 73e9e6dd70)
Co-authored-by: steviez <steven@solana.com>
* Add dev-utils feature for inter-crate test code safe reuse
* Sanitize mode
* Fix typo...
* Use case/esac intead of if
* port to `cargo tree` + `jq`
* Fix typo...
* Properly abort on errors
* Add trailing commas
* Select only normal dependencies
* Use more concise comma-separated code
* Skip if taint packages are empty
* Fold long lines and format code a bit
* Fix shellcheck
* Improve jq query and remove uneeded marker feature
* Use folding heredoc giving up proper indenting..
* Use jq's alternative operator (//)
* Rename to dev-context-only-utils
* Fix typo...
---------
Co-authored-by: Trent Nelson <trent@solana.com>
* 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
* 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
* 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
* 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