Skip to content

Add post processing to set nvcc-specific matrix outputs. #12

Add post processing to set nvcc-specific matrix outputs.

Add post processing to set nvcc-specific matrix outputs. #12

Check failure on line 1 in .github/workflows/compute-nvcc-matrix.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/compute-nvcc-matrix.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: compute-matrix
name: Compute the matrix for a given matrix type from the specified matrix file
on:
workflow_call:
inputs:
matrix_file:
type: string
required: true
matrix_type:
description: "The desired matrix type. Currently, only 'pull-request' and 'nightly' are supported."
type: string
required: true
outputs:
FULL_MATRIX:
description: "The full matrix of build configurations for the given matrix type."
value: ${{ jobs.compute-matrix.outputs.FULL_MATRIX }}
CUDA_VERSIONS:
description: "The unique CUDA versions in the full matrix."
value: ${{ jobs.compute-matrix.outputs.CUDA_VERSIONS }}
COMPILERS:
description: "The unique compilers in the full matrix."
value: ${{ jobs.compute-matrix.outputs.COMPILERS }}
PER_CUDA_COMPILER_MATRIX:
description: "The matrix of build configurations for each CUDA version and compiler."
value: ${{ jobs.compute-matrix.outputs.PER_CUDA_COMPILER_MATRIX }}
defaults:
run:
shell: bash
env:
MATRIX_TYPE: ${{ inputs.matrix_type}}
MATRIX_FILE: ${{ inputs.matrix_file }}
jobs:
compute-matrix:
name: ${{inputs.matrix_type}}
runs-on: ubuntu-latest
outputs:
FULL_MATRIX: ${{ steps.compute-matrix.outputs.FULL_MATRIX }}
CUDA_VERSIONS: ${{ steps.compute-matrix.outputs.CUDA_VERSIONS }}
COMPILERS: ${{ steps.compute-matrix.outputs.COMPILERS }}
PER_CUDA_COMPILER_MATRIX: ${{ steps.compute-matrix.outputs.PER_CUDA_COMPILER_MATRIX }}
steps: