Skip to content
New issue

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

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

Already on GitHub? # to your account

test: test CI using smaller runner #1251

Merged
merged 6 commits into from
Sep 19, 2024

Conversation

gauravahuja
Copy link
Contributor

@gauravahuja gauravahuja commented Sep 19, 2024

  • Use a smaller 8 core runner vs 32 core
  • Remove spotless as a separate workflow and include it as part of the build workflow
    • The separate spotless workflow uncessary instantiated another runner, downloaded the repo and jdk.
  • Initialize only the linea-constraints submodule and exclude the ethereum-tests submodule. The ethereum-test submodule is about 1-2GB and only needed for reference tests and thus not required for CI on every commit.

submodules: false

- name: Get Submodules
run: git submodule update --init --recursive linea-constraints
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does this means it will update the submodule to the latest master in every PR ? If yes, it shouldn't be the case, while debugging, we need to point to a specific constraint commit

Copy link
Contributor Author

Choose a reason for hiding this comment

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

My understanding is that it will update the submodule to the version specified in the .gitmodules file

@powerslider powerslider changed the title Test CI using smaller runner test: test CI using smaller runner Sep 19, 2024
@gauravahuja gauravahuja merged commit 7104c32 into arith-dev Sep 19, 2024
5 checks passed
@gauravahuja gauravahuja deleted the gauravhauja/ci_cost_optimizations branch September 19, 2024 11:27
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants