Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

feat: Allow install grcov from releases #81

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

macisamuele
Copy link

The idea of this PR is to fetch grcov binary from grcov releases and in case of failure fallback to installation from sources.

This allows us to have extremely fast setup time (downloading and decompressing less than 2MB is essentially instantaneous) without using 3rd party providers such as actions-rs/tool-cache but trusting the maintainer of the project on publishing the correct artifacts.

@macisamuele macisamuele force-pushed the maci-install-from-releases branch from 18fae0e to d7e3a3e Compare June 25, 2020 11:39
@macisamuele
Copy link
Author

@stepankuzmin : Is this PR something that can be interesting ?
I'd really like to have a similar feature as while dealing with relatively small libraries, building grcov from scratch takes the majority of the coverage time.

@stepankuzmin
Copy link
Contributor

That would be great! Thanks, @macisamuele

macisamuele added a commit to macisamuele/jsonschema-equivalent that referenced this pull request Jun 25, 2020
macisamuele added a commit to macisamuele/jsonschema-equivalent that referenced this pull request Jun 25, 2020
@macisamuele
Copy link
Author

On https://github.com/macisamuele/jsonschema-equivalent/runs/808980962 there is an example of using grcov installed from the releases You can compare it with https://github.com/macisamuele/jsonschema-equivalent/runs/808953032 to observe the timing differences.

rraval pushed a commit to rraval/actions-rs-grcov that referenced this pull request Jan 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants