Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Setting up unified CI for rust repos #251

Closed
galargh opened this issue Dec 13, 2021 · 3 comments
Closed

Setting up unified CI for rust repos #251

galargh opened this issue Dec 13, 2021 · 3 comments

Comments

@galargh
Copy link
Contributor

galargh commented Dec 13, 2021

Similarly to #235, it would be great to have a common way of setting up CI for rust repos too.

I'm creating this issue now to make sure we take into account rust-specific needs when we work on making the unified CI framework more customisable(to support JS workflows initially).

@laudiacay @mxinden Do you have any ideas/examples of what kind of workflows we might want to consider common in the rust world?

@mxinden
Copy link

mxinden commented Dec 13, 2021

Thanks @galargh for tracking this!

For the reference, rust-libp2p's workflow which served us well thus far.

A couple of tools which I think should be standard across repositories:

  • rust-fmt
  • cargo clippy
  • cargo doc with intra-doc check
  • cargo build (including benchmarks)
  • cargo test (including benchmarks)
  • build and test on WASM (if repo targets WASM)

@laudiacay
Copy link

laudiacay commented Dec 13, 2021 via email

@galargh
Copy link
Contributor Author

galargh commented Aug 28, 2023

This issue was transferred to ipdxco/unified-github-workflows#38 in preparation for archiving of this repository.

@galargh galargh closed this as completed Aug 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants