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): improve ci #327

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

feat(ci): improve ci #327

wants to merge 6 commits into from

Conversation

CeciliaZ030
Copy link
Contributor

No description provided.

Comment on lines +46 to +57
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 }}
Copy link
Contributor

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?

Comment on lines +21 to +37
- 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
Copy link
Contributor

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

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