Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ci): add rv32im compilation checks #12925

Merged
merged 5 commits into from
Nov 29, 2024
Merged

Conversation

zobront
Copy link
Contributor

@zobront zobront commented Nov 27, 2024

addresses #12891

adds a ci workflow to check that all expected crates are able to compile to the riscv32imac target. this is helpful for FPVM / ZK teams to know which crates are safe to import directly from reth.

# Array of crates to exclude
# Used with the `contains` function.
# shellcheck disable=SC2034
exclude_crates=(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we invert this please,

checking crates for inclusion is pretty annoying, because what we need to do here now is check that a selection of crates compiles for this target, then we don't need the cargo metadata call

Comment on lines 6 to 10
reth-evm
reth-primitives
reth-primitives-traits
reth-optimism-forks
reth-optimism-chainspec
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this will take a while until we support all of those, can we start with the one that currently succeeds and comment out the others, otherwise this pr will be open for a while

reth-codecs-derive
# reth-evm
# reth-primitives
# reth-primitives-traits
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this we should target next

@mattsse mattsse added this pull request to the merge queue Nov 29, 2024
Merged via the queue into paradigmxyz:main with commit 599b808 Nov 29, 2024
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants