-
Notifications
You must be signed in to change notification settings - Fork 4
39 lines (36 loc) · 1.16 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
name: pr
on:
push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
style:
runs-on: ubuntu-latest
container:
image: rapidsai/ci-conda:latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/cache@v4
with:
path: ~/.cache/pre-commit
key: pre-commit-0|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run ci/check_style.sh
run: ci/check_style.sh
conda-cpp-build:
needs: style
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
with:
build_type: pull-request
matrix_filter: group_by(.ARCH) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))]))
script: ci/build_conda.sh
wheel-cpp-build:
needs: style
uses: rapidsai/shared-workflows/.github/workflows/[email protected]
with:
build_type: pull-request
matrix_filter: group_by(.ARCH) | map(max_by([(.PY_VER|split(".")|map(tonumber)), (.CUDA_VER|split(".")|map(tonumber))]))
script: ci/build_wheel.sh