Commit Graph

231 Commits

Author SHA1 Message Date
Jon C 5871a0e7ed CI: Add windows clippy job and fix clippy errors (#330)
* CI: Run clippy on windows

* Update cargo-clippy-before-script.sh for Windows

* Pacify clippy
2024-03-20 16:28:38 -05:00
Yihau Chen 88ffa74180 ci: remove unused Github Actions (#124) 2024-03-15 22:22:45 -05:00
Yihau Chen cb4ddfb5c1
ci: disable dependabot (#35430) 2024-03-07 12:18:39 +08:00
Will Hickey 9b1243ee4c Revert "[anza migration] replace binaries backend (#6)"
This reverts commit 9355518424.
2024-03-05 10:19:55 -06:00
Will Hickey 4cb7c315b8 Revert "[anza migration] ci: fix path (#8)"
This reverts commit 58e9a19f11.
2024-03-05 10:19:20 -06:00
Will Hickey e72f6ba503 Revert "[anza migration] ci: removed unused s3 upload in Windows build (#9)"
This reverts commit 91e3dd2250.
2024-03-05 10:19:12 -06:00
Will Hickey df57657985 Revert "[anza migration] rename crates (#10)"
This reverts commit 3f9a7a52ea.
2024-03-05 10:18:50 -06:00
Jon C 0eb0e7cfcc windows: Use vcpkg for openssl dep (#73) 2024-03-05 09:43:25 -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 ff1d892277 [anza migration] ci: removed unused s3 upload in Windows build (#9)
ci: removed unused s3 upload in Windows build
2024-03-05 09:43:25 -06:00
Yihau Chen d2a4f0f5e6 [anza migration] ci: fix path (#8)
* ci: fix windows build

* ci: publish sdk docker image with the new name

* update automerge status
2024-03-05 09:43:25 -06:00
Yihau Chen b84d81b7a5 [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
2024-03-05 09:43:25 -06:00
Will Hickey 4b25ab207c
Add github action to close new pull requests (#35400)
Add github action to close new pull requests with a comment directing them to agave
2024-03-04 11:17:29 -06:00
Will Hickey 3b940a4746
Add GHA to close new issues with a comment (#35151)
* Add GHA to close new issues with a comment

* Remove trailing whitespace
2024-03-02 22:58:37 -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
Yihau Chen 0e90e985dd
ci: use openssl 3.1.1 for Windows build (#34795) 2024-01-16 17:11:19 +00:00
Yihau Chen e31a45ad0c
ci: use larger runner for macos stable clippy (#34745) 2024-01-11 23:51:57 +08:00
Yihau Chen 74df203dd4
ci: cancel the previous build when a new commit lands (#34733) 2024-01-10 18:33:39 +00:00
Yihau Chen e3df207963
ci: use larger runner for macos nightly clippy (#34725)
* ci: using larger runner for macos nightly clippy

* update mergify rules
2024-01-11 01:26:20 +08:00
Illia Bobyr c5d51acda8
GitHub workflows: Disable cron schedule for forks (#34703)
Forks will run all the cron schedules.  And I do not think they benefit
from those.  For the downstream project checks, these runs are actually
very expensive - about an hour of run time per execution.  Easily
draining free account limits.
2024-01-09 16:54:31 -08: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
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
Yihau Chen 4832b4ecec
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
2023-12-01 00:59:45 +08:00
Yihau Chen 1ce91a56a5
ci: fixed sccache version for sccache-action (#33904) 2023-10-27 16:51:34 +00:00
Will Hickey e5dfc9cb27
Add check for CHANGELOG.md change when changelog label applied to PR (#33675)
* Add check for CHANGELOG.md change when changelog label applied to PR

* Update changelog
2023-10-20 11:01:52 -05:00
mvines 3008cd8ac1
Add SIMD field to feature gate issue template (#33495) 2023-10-03 09:32:13 -07:00
Yihau Chen bdc4cbba47
ci: fix Windows build (#33467)
ci: fix windows build
2023-09-30 01:46:54 +08:00
Jon Cinque f502dbc54e
ci: Re-enable spl-stake-pool downstream job (#33425) 2023-09-27 17:37:28 +02:00
Yihau Chen 4d96c384a1
ci: install openssl for the Windows build (#33356) 2023-09-22 10:52:28 +08:00
Tyera bca41edf20
Make active stake consistent in split (#33295)
* Add feature gate

* Add helper fn

* Require split destination to be rent-exempt if it is active

* Update cli to prefund split accounts

* cli: require rent param with sign-only

* Update tokens to prefund split accounts

* Update split tests with sysvar accounts

* Fix test_split_to_account_with_rent_exempt_reserve

* Fix test_staked_split_destination_minimum_balance

* Fix test_split_more_than_staked

* Fix test_split_minimum_stake_delegation and remove misleading StakeState::Initialized case

* Fix test_split_from_larger_sized_account

* Add test for pre-/post-activation behavior splitting some or all of stake account

* Assert active stake

* Fix runtime test

* Ignore stake-pool downstream

* Review comments

* Feature gate sysvar reads
2023-09-20 06:00:51 +00:00
Yihau Chen 0c896c6076
ci: trigger client_targets pipeline when the cargo file changes (#33163) 2023-09-07 00:19:00 +08:00
Yihau Chen 114b5b95dd
ci: add a common script for installing dependencies (#33101)
ci: add a common place for install deps
2023-09-01 06:43:00 +00:00
Jon Cinque ba981e8e05
CI: Add back some downstream SPL jobs (#32986)
* Revert "CI - Disables Downstream Project actions (#32983)"

This reverts commit 68456fad86.

* CI: Disable "check" and "test" jobs
2023-08-25 12:35:08 +02:00
Alexander Meißner 68456fad86
CI - Disables Downstream Project actions (#32983)
Disables Downstream Project CI actions.
2023-08-24 23:50:10 +02:00
Trent Nelson d91b22c421
bump etcd-client to 0.11.1 (#32947) 2023-08-24 13:09:49 -06:00
Yihau Chen bc5ad1d2ab
ci: re-enable SPL downstream project test on Github Action (#32677)
* 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>
2023-08-16 11:12:15 +00:00
Ryo Onodera 39770b2de1
Patch ntapi to restore windows build (#31961)
* Patch ntapi to restore windows build

* Update Cargo.lock...

* Add comment for justification of this patching

https://github.com/MSxDOS/ntapi/issues/11
https://github.com/MSxDOS/ntapi/pull/12

* Revert "ci: stop windows building on master temporarily (#31353)"

This reverts commit 2dcdfff5f4.

* Use solana-labs fork

* Ugh..
2023-06-05 16:51:43 +09:00
Tyera 78a61666ee
Add field for feature-gate-issue deployment considerations (#31901) 2023-05-31 20:02:37 -06:00
Yihau Chen 2dcdfff5f4
ci: stop windows building on master temporarily (#31353) 2023-04-26 01:29:28 +00:00
Yihau Chen fdecd0dcaa
ci: use preinstalled openssl (#31107)
ci: use built-in openssl
2023-04-13 06:24:53 +00:00
Illia Bobyr 0f8317b22e
dependabot: Increase PR limit to 6 (#31087)
Current limit of 3 is too low, as the updates are happening faster than
they are processed via our review process.

As this limit applies to the total number of outstanding PRs, any PR
that requires additional investigation is further reducing the update
speed.

Bumping 2x to see if this would get us back on track to catching up with
the current state of the world.
2023-04-06 14:26:57 -07:00
Yihau Chen 17369dc8f0
ci: extract vercel scope as an env (#30441) 2023-02-23 11:58:08 +08:00
Illia Bobyr 6fb4716e48
ci: Do not produce build artifacts when run in a fork (#30294)
If someone forks the `solana` repo, they should not have access to Slack
or AWS storage locations that hold build artifacts.  Meaning, actions
that interact with that infrastructure will always fail.  It makes sense
to disable these actions in forks.
2023-02-14 00:31:44 -08:00
Steven Luscher 3c01f4dd76
chore: remove Explorer build scripts from the Monorepo (#30262)
* chore: remove Explorer build scripts from the Monorepo

* chore: remove labeler action
2023-02-10 17:25:32 -06:00
Yihau Chen a31c892a9d
ci: cancel previous Windows build when start a new one (#30086) 2023-02-03 11:54:29 +08:00
Steven Luscher 1cab61d3b7
Move experimental web3.js folder out of monorepo (#30072) 2023-02-01 17:50:04 -08:00
Steven Luscher a2cf25153f
Fuck this whole web3.js thing (#30062) 2023-02-01 14:34:23 -08:00
Yihau Chen e7838768ec
ci: fix commit range in push event (#29755)
* fix commit range

* use github.event.before instead of HEAD~1
2023-01-19 12:28:00 +08:00
Steven Luscher 0665569d26
Crank Stalebot's operations limit up to a level that should handle all issues
This thing seems to have been humming along at 300 in the dead zone between NA night and Europe morning. Let's see if it can handle the entire corpus.
2022-12-28 19:46:41 -08:00
Steven Luscher ec5e5dbffa
Double the Stalebot operations limit 2022-12-27 07:49:53 -08:00