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

Support installing compiler-tools with dependencies #77

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

pbrisbin
Copy link
Member

@pbrisbin pbrisbin commented Apr 10, 2024

Since we moved to handling caching ourselves, and we store the cache at
the end of each step, installing compiler-tools separately from this
action would not include their build in said cache.

For example, if you intend to convert and upload coverage using hcp-lcov,
you can now do:

- id: stack
  uses: freckle/stack-action@v5
  with:
    compiler-tools: hpc-lcov
    stack-build-arguments: --coverage

- run: stack --no-terminal exec -- hpc-lcov --file "$HPC_ROOT"/combined/all/all.tix
  env:
    HPC_ROOT: ${{ steps.stack.outputs.local-hpc-root }}

- uses: codecov/codecov-action@v2
  with:
    files: ./lcov.info

Before, you would have to install the tool yourself, and use something
like stack-cache-action to have its build cached.

@pbrisbin pbrisbin changed the title pb/compiler tools Support installing compiler-tools with dependencies Apr 10, 2024
@pbrisbin pbrisbin requested a review from stackptr April 10, 2024 14:54
@pbrisbin pbrisbin marked this pull request as ready for review April 10, 2024 14:54
@pbrisbin pbrisbin force-pushed the pb/compiler-tools branch from ee69f8f to b93eb68 Compare April 10, 2024 14:55
Since we moved to handling caching ourselves, and we store the cache at
the end of each step, installing compiler-tools separately from this
action would not include their build in said cache.
@pbrisbin pbrisbin force-pushed the pb/compiler-tools branch from 41e638f to 228ee94 Compare April 18, 2024 18:42
@pbrisbin pbrisbin enabled auto-merge (rebase) April 18, 2024 18:42
@pbrisbin pbrisbin merged commit 29d851d into main Apr 18, 2024
19 checks passed
@pbrisbin pbrisbin deleted the pb/compiler-tools branch April 18, 2024 18:48
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