Commit Graph

401 Commits

Author SHA1 Message Date
GHA: Update Upstream From Fork e0203f22dc Revert "ci: rename script (#125)"
This reverts commit ed57e6aa10.
2024-03-11 08:17:30 -05:00
Yihau Chen ed57e6aa10 ci: rename script (#125) 2024-03-09 13:28:07 -06:00
Tyera a8d527b446 Prep Anchor downstream CI job for v2 bump (#123)
* Add new script to patch spl in anchor downstream

* Only specify major version for token-2022

* Add update for ahash

* Patch spl in anchor

* Remove dex and metadata features for now
2024-03-09 13:26:34 -06:00
Will Hickey df57657985 Revert "[anza migration] rename crates (#10)"
This reverts commit 3f9a7a52ea.
2024-03-05 10:18:50 -06:00
Yihau Chen 14cb9cff92 [anza migration] rename crates (#10)
* rename geyser-plugin-interface

* rename cargo registry

* rename watchtower

* rename ledger tool

* rename validator

* rename install

* rename geyser plugin interface when patch
2024-03-05 09:43:25 -06:00
Yihau Chen d223a43096
ci: update anchor downstream project (#35274)
* Update build downstream projects script (#35262)

* fix patch-crates.sh doesn't pass the real variables

* fix downstream project anchor doesn't be triggered correctly

---------

Co-authored-by: Lucas Steuernagel <38472950+LucasSte@users.noreply.github.com>
2024-02-21 22:30:55 +08:00
steviez 86b5f3cde7
Revert "Update build downstream projects script (#35262)" (#35272)
This reverts commit 4022434576.
2024-02-20 23:33:04 -06:00
Lucas Steuernagel 4022434576
Update build downstream projects script (#35262) 2024-02-20 18:21:16 -03:00
Ryo Onodera a1be1042a9
Make check{2,3} faster by enabling parallel rustc for dcou (#34739)
Try to make check3 faster
2024-01-11 13:16:47 +09:00
GoodDaisy 03386cc7b9
Fix typos (#34459)
* Fix typos

* Fix typos

* fix typo
2023-12-21 13:06:00 -07:00
Yihau Chen 5247be17a9
ci: split cargo-clippy into stable and nightly (#34566)
* ci: split cargo-clippy into stable and nightly

* ci: update mergify
2023-12-22 03:28:41 +08:00
Tyera d4363526fe
Cargo needs version arg after subcommand (#34547) 2023-12-20 19:56:05 +00:00
Tyera 51c9963a60
cargo-install-all: use full path for sourcing (#34525)
Use full path for sourcing
2023-12-19 12:58:16 -07:00
Brooks e79c09bdc4
Refactors Accounts constructors (#34466) 2023-12-14 16:36:47 -05:00
Tyera e6e191f843
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>
2023-12-14 10:18:34 -07:00
Jon Cinque a1d2d6f150
ci: Test anchor-spl during downstream build (#34368)
* ci: Test anchor-spl during downstream build

* Also test anchor-client

* Update scripts/build-downstream-anchor-projects.sh

Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com>

* Specify features to use in build-sbf

---------

Co-authored-by: acheron <98934430+acheroncrypto@users.noreply.github.com>
2023-12-09 01:50:24 +01:00
Jon Cinque ae7713177c
ci: Add downstream build for anchor (#34343)
* ci: Add downstream build for anchor

* Fixup for shellcheck and job title
2023-12-07 13:02:24 +01:00
Illia Bobyr 8c5b5f18be
scripts/cargo-clippy.sh: Extract our non-trivial `cargo clippy` command (#33982)
CI uses a number of parameters when running `cargo clippy`.  Repeating
the same command manually requires some copy/pasting.  It is easier when
there is a common script that can be run by everyone.
2023-11-08 02:50:38 -08:00
Will Hickey 87b4dc64e3
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
2023-11-07 13:48:11 -06:00
Sean Young 8e0acf481c
Update Solang Solidity compiler to v0.3.3 (#33830)
Signed-off-by: Sean Young <sean@mess.org>
2023-10-24 14:24:54 +01:00
Ryo Onodera 2f090a5882
Define PohRecorder set_bank related test helper methods (#33626)
Define PohRecorder set_bank related test methods
2023-10-11 10:34:39 +09:00
Ryo Onodera 1704789247
Define tick related helper test methods (#33537)
* Define tick related helper methods

* dcou VoteSimulator

* blacklist ledger-tool for dcou

* fix dcou ci...

* github
2023-10-10 09:23:18 +09:00
steviez 73e9e6dd70
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.
2023-10-02 19:40:31 +02:00
Kevin Ji 5d11227088
Mark *.sh files with `#!` as executable (#33303) 2023-09-28 10:32:44 +08:00
Sean Young b5b7397e92
Update Solang Solidity compiler to v0.3.2 (#32975)
Signed-off-by: Sean Young <sean@mess.org>
2023-08-25 12:56:27 +01:00
Ryo Onodera a5aa4064fb
Restore ntapi patching (#32488) 2023-07-14 11:57:54 +09:00
Tyera c02021173d
Bump and unpin tokio (#32430)
* Bump tokio to current, and unpin

* Remove patch since ntapi is not longer in tree
2023-07-13 13:53:48 -06:00
Ryo Onodera 18247431b9
Add special feature for inter-crate safe dev-related code reuse (#32169)
* 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>
2023-07-07 09:30:20 +09:00
Lucas Steuernagel 77d46329dd
Update Solang Solidity compiler to v0.3.1 (#32352) 2023-07-03 10:20:49 -03:00
Ryo Onodera 4227d0ee35
Bump patched ntapi from v0.3.6 to v0.3.7 (#31981) 2023-06-06 13:33:57 +09:00
Ryo Onodera 6b33ff8ae9
Remove --locked for cli-arg based patch... (#31971) 2023-06-05 22:16:44 +09:00
Ryo Onodera c1d68d3bc8
Patch ntapi more thoroughly (#31970)
* Patch spl-token-cli build as well...

* Patch sbf/Cargo.toml for consistency
2023-06-05 21:22:59 +09:00
Sean Young 7ad43f5653
Update Solang Solidity compiler to v0.3.0 (#31756) 2023-05-23 12:58:02 +01:00
Trent Nelson b422ac0368
remove `solana-sys-tuner` binary and all references (#31682) 2023-05-16 18:22:58 -06:00
Trent Nelson 53811e6053
add and recommend script for reserving new package names on crates.io (#31416)
* add script for reserving package names on crates.io

* ci/check-crates.sh: suggest script for new crate name reservation
2023-05-08 09:31:24 -06:00
Sean Young 1438d9ef08
Add Solidity compiler to solana installer (#31184)
Co-authored-by: mvines <mvines@gmail.com>
2023-05-03 07:10:00 -07:00
Yihau Chen 8a849718d2
ci: cleanup (#31196)
* extract threads limit script

* extract common functions

* mv need_to_generate_test_result need_to_upload_test_result
2023-04-14 20:37:07 +00:00
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