Skip to content

initial add ci test infra #12

initial add ci test infra

initial add ci test infra #12

Workflow file for this run

# SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
name: pr
on:
push:
branches:
- "pull-request/[0-9]+"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pr-builder:
needs:
- checks
- legacy_tests
- frontier_tests
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
checks:
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
with:
enable_check_generated_files: false
legacy_tests:
name: Runs on legacy hardware and older CTK versions (V100, 12.3.3)
secrets: inherit
runs-on: linux-amd64-gpu-v100-latest-1

Check failure on line 31 in .github/workflows/pr.yaml

View workflow run for this annotation

GitHub Actions / pr

Invalid workflow file

The workflow is not valid. .github/workflows/pr.yaml (Line: 31, Col: 5): Unexpected value 'runs-on' .github/workflows/pr.yaml (Line: 32, Col: 5): Unexpected value 'container'
container: # GPU jobs must run in a container
image: ubuntu-20.04 # Numbast depends on conda installed CTK, to avoid interferrence, we use a clean ubuntu image
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }} # GPU jobs must set this container env variable
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Environment, Build and Test
id: test
run: |
ci/setup_build_test.sh 12.3 3.10
frontier_tests:
name: Runs on newer hardware and latest CTK versions (A100, 12.4.0)
secrets: inherit
runs-on: linux-arm64-gpu-a100-latest-1
container: # GPU jobs must run in a container
image: ubuntu-latest # Numbast depends on conda installed CTK, to avoid interferrence, we use a clean ubuntu image
env:
NVIDIA_VISIBLE_DEVICES: ${{ env.NVIDIA_VISIBLE_DEVICES }} # GPU jobs must set this container env variable
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Setup Environment, Build and Test
id: test
run: |
ci/setup_build_test.sh 12.4 3.10