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

Disable tests when building verible #54

Merged

Conversation

hcallahan-lowrisc
Copy link
Contributor

When bumping flake.lock locally, after building verible the testing phase takes ~30m to run locally on a laptop. There's also not a huge amount of benefit in running the tests for us when we are statically pinning the version. Maybe in the future when building for our cache we can explicitly enable running the tests.

Testing takes ~30m to run locally on a laptop, and there's not a huge amount of
benefit in running the tests for us. Maybe in the future we could have a job
that builds for our cache which explicity enables running the tests.

Signed-off-by: Harry Callahan <[email protected]>
Copy link
Contributor

@rswarbrick rswarbrick left a comment

Choose a reason for hiding this comment

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

I'm a big fan!

};

patches = [];

bazel = bazel_6;

# Disable tests (takes ~30m to run locally on a laptop)
bazelTestTargets = [];
Copy link
Collaborator

Choose a reason for hiding this comment

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

Does dontCheck = true work?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, something to do with the implementation of buildBazelPackage

@hcallahan-lowrisc hcallahan-lowrisc merged commit 940ed45 into lowRISC:main Jul 25, 2024
3 checks passed
@hcallahan-lowrisc hcallahan-lowrisc deleted the verible_disable_tests branch July 25, 2024 11:19
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.

3 participants