* [anza migration] replace binaries backend (#6)
* ci: add upload-gcs-artifact
* ci: publish release binaries to GCS
* ci: redirect github repo to anza-xyz
* ci: publish windows binaries to GCS
* replace release.solana.com with release.anza.xyz
* use a explicit name for credential
(cherry picked from commit b061cd33cb919b7c6bbd58780e0142d97df4f4b7)
* [anza migration] ci: fix path (#8)
* ci: fix windows build
* ci: publish sdk docker image with the new name
* update automerge status
* [anza migration] ci: removed unused s3 upload in Windows build (#9)
ci: removed unused s3 upload in Windows build
---------
Co-authored-by: Yihau Chen <a122092487@gmail.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>
ci: remove stable-perf from PR and push CI (#33479)
ci: move stable-perf to nightly pipeline
(cherry picked from commit b87c8d163d)
Co-authored-by: Yihau Chen <a122092487@gmail.com>
* allow pedantic invalid cast lint
* allow lint with false-positive triggered by `test-case` crate
* nightly `fmt` correction
* adapt to rust layout changes
* remove dubious test
* Use transmute instead of pointer cast and de/ref when check_aligned is false.
* Renames clippy::integer_arithmetic to clippy::arithmetic_side_effects.
* bump rust nightly to 2023-08-25
* Upgrades Rust to 1.72.0
---------
Co-authored-by: Trent Nelson <trent@solana.com>
* sdk: Add concurrent support for rand 0.7 and 0.8
* Update rand, rand_chacha, and getrandom versions
* Run command to replace `gen_range`
Run `git grep -l gen_range | xargs sed -i'' -e 's/gen_range(\(\S*\), /gen_range(\1../'
* sdk: Fix users of older `gen_range`
* Replace `hash::new_rand` with `hash::new_with_thread_rng`
Run:
```
git grep -l hash::new_rand | xargs sed -i'' -e 's/hash::new_rand([^)]*/hash::new_with_thread_rng(/'
```
* perf: Use `Keypair::new()` instead of `generate`
* Use older rand version in zk-token-sdk
* program-runtime: Inline random key generation
* bloom: Fix clippy warnings in tests
* streamer: Scope rng usage correctly
* perf: Fix clippy warning
* accounts-db: Map to char to generate a random string
* Remove `from_secret_key_bytes`, it's just `keypair_from_seed`
* ledger: Generate keypairs by hand
* ed25519-tests: Use new rand
* runtime: Use new rand in all tests
* gossip: Clean up clippy and inline keypair generators
* core: Inline keypair generation for tests
* Push sbf lockfile change
* sdk: Sort dependencies correctly
* Remove `hash::new_with_thread_rng`, use `Hash::new_unique()`
* Use Keypair::new where chacha isn't used
* sdk: Fix build by marking rand 0.7 optional
* Hardcode secret key length, add static assertion
* Unify `getrandom` crate usage to fix linking errors
* bloom: Fix tests that require a random hash
* Remove some dependencies, try to unify others
* Remove unnecessary uses of rand and rand_core
* Update lockfiles
* Add back some dependencies to reduce rebuilds
* Increase max rebuilds from 14 to 15
* frozen-abi: Remove `getrandom`
* Bump rebuilds to 17
* Remove getrandom from zk-token-proof
* ci: init spl downstream project on Github Action
* ci: fix spl downstream project doesn't use cargo-test-sbf
* ci: move nightly build to another individual file
* ci: get more space for runners on Github Action
* ci: trun off fali-fast
* Update .github/workflows/downstream-project-spl.yml
Co-authored-by: Jon Cinque <me@jonc.dev>
* ci: separate all spl programs
* use reusable workflow
* add error reporting for nightly build
* update test method
* add build and test
* only build required program
* remove other branches
* Update .github/workflows/downstream-project-spl.yml
Co-authored-by: Jon Cinque <me@jonc.dev>
* Update .github/workflows/downstream-project-spl.yml
Co-authored-by: Jon Cinque <me@jonc.dev>
* add check
* update build and test
* add lacking programs
* remove unnecessary programs
---------
Co-authored-by: Jon Cinque <me@jonc.dev>
* 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>