-
Notifications
You must be signed in to change notification settings - Fork 8
57 lines (53 loc) · 1.9 KB
/
pr.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# 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
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