-
Notifications
You must be signed in to change notification settings - Fork 89
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): improve ci #327
base: main
Are you sure you want to change the base?
feat(ci): improve ci #327
Conversation
env: | ||
TARGET: ${{ inputs.version_name }} | ||
run: make install | ||
|
||
- name: Build ${{ inputs.version_name }} prover | ||
env: | ||
TARGET: ${{ inputs.version_name }} | ||
run: make build | ||
|
||
- name: Test ${{ inputs.version_name }} prover | ||
env: | ||
TARGET: ${{ inputs.version_name }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we need this env passed when it is already present at line 24?
- name: Run clippy check host | ||
run: cargo clippy -p raiko-host -p raiko-lib -p raiko-core -p harness -p raiko-tasks --all-features -- -D warnings | ||
- name: Run clippy check risc0 | ||
run: | | ||
cargo clippy -p risc0-builder --all-features -- -D warnings | ||
cargo clippy -p risc0-driver --features enable -- -D warnings | ||
cd ./provers/risc0/guest | ||
cargo clippy --all-features -- -D warnings | ||
- name: Run clippy check sp1 | ||
run: | | ||
cargo clippy -p sp1-builder --all-features -- -D warnings | ||
cargo clippy -p sp1-driver --features enable -- -D warnings | ||
cd ./provers/sp1/guest | ||
cargo clippy --all-features -- -D warnings | ||
- name: Run clippy check sgx | ||
run: | | ||
cargo clippy -p sgx-guest -p sgx-prover -p raiko-setup --all-features -- -D warnings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There needs to be an install step because clippy will still compile the projects so they can't actually compile without the tooling present
No description provided.