mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-03-14 20:27:24 +00:00
* devcontainer: replace VAULT_HOST with AWS_ROLE_ARN Signed-off-by: Jordan Jacobelli <jjacobelli@nvidia.com> * Update devcontainers base image to support AWS_ROLE_ARN Signed-off-by: Jordan Jacobelli <jjacobelli@nvidia.com> * Bump cuda latest version to 12.6 Signed-off-by: Jordan Jacobelli <jjacobelli@nvidia.com> * Replace ubuntu18.04 with ubuntu20.04 Ubuntu 18.04 is not supported anymore Signed-off-by: Jordan Jacobelli <jjacobelli@nvidia.com> * Use DOOD stategy to keep supporting ubuntu18.04 See https://github.com/NVIDIA/cccl/pull/1779 Signed-off-by: Jordan Jacobelli <jjacobelli@nvidia.com> --------- Signed-off-by: Jordan Jacobelli <jjacobelli@nvidia.com>
37 lines
979 B
YAML
37 lines
979 B
YAML
name: build and test
|
|
|
|
defaults:
|
|
run:
|
|
shell: bash -exo pipefail {0}
|
|
|
|
on:
|
|
workflow_call:
|
|
inputs:
|
|
cuda: {type: string, required: true}
|
|
host: {type: string, required: true}
|
|
cpu: {type: string, required: true}
|
|
test_name: {type: string, required: false}
|
|
build_script: {type: string, required: false}
|
|
test_script: {type: string, required: false}
|
|
container_image: {type: string, required: false}
|
|
run_tests: {type: boolean, required: false, default: true}
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build-and-test:
|
|
name: Build/Test ${{inputs.test_name}}
|
|
permissions:
|
|
id-token: write
|
|
contents: read
|
|
uses: ./.github/workflows/run-as-coder.yml
|
|
with:
|
|
cuda: ${{ inputs.cuda }}
|
|
host: ${{ inputs.host }}
|
|
name: Build/Test ${{inputs.test_name}}
|
|
runner: linux-${{inputs.cpu}}-gpu-v100-latest-1
|
|
image: ${{ inputs.container_image }}
|
|
command: |
|
|
${{ inputs.test_script }}
|