Skip to content

Commit

Permalink
CI: tweak: make workflow reusable
Browse files Browse the repository at this point in the history
  • Loading branch information
marcospb19 committed Nov 17, 2024
1 parent 2bee0f3 commit 59bbd9e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/pr-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ on:
pull_request:
paths-ignore:
- "*.md"
workflow_call:
inputs:
matrix_with_all_combinations_of_features_and_targets:
type: boolean
required: true
default: true

jobs:
clippy-checks:
Expand Down Expand Up @@ -62,9 +68,9 @@ jobs:
strategy:
fail-fast: false
matrix:
feature-use-zlib: [false]
feature-use-zstd-thin: [false]
feature-unrar: [false]
feature-use-zlib: ${{ inputs.matrix_with_all_combinations_of_features_and_targets && [true, false] || [false] }}
feature-use-zstd-thin: ${{ inputs.matrix_with_all_combinations_of_features_and_targets && [true, false] || [false] }}
feature-unrar: ${{ inputs.matrix_with_all_combinations_of_features_and_targets && [true, false] || [false] }}
target:
# native
- x86_64-unknown-linux-gnu
Expand Down

0 comments on commit 59bbd9e

Please sign in to comment.