-
Notifications
You must be signed in to change notification settings - Fork 4
59 lines (53 loc) · 1.56 KB
/
conda-python-build.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
58
59
name: conda-python-build
concurrency:
group: conda-python-build-on-${{ github.event_name }}-from-${{ github.ref_name }}
cancel-in-progress: true
on:
# run only when called by other workflows
workflow_call:
inputs:
script:
required: true
type: string
description: "relative path to a script that builds conda packages"
env:
# CUDA architectures to build for
CUDAARCHS: "all-major"
# where conda-python-build puts files it creates
RAPIDS_CONDA_BLD_OUTPUT_DIR: /tmp/conda-bld-output
jobs:
build:
strategy:
fail-fast: false
# available legate and cupynumeric packages:
#
# * https://anaconda.org/legate/legate
# * https://anaconda.org/legate/cupynumeric
#
# Valid set of RAPIDS ci-conda image tags:
#
# * https://hub.docker.com/r/rapidsai/ci-conda/tags
matrix:
ARCH:
- "amd64"
CUDA_VER:
- "12.5.1"
PY_VER:
- "3.10"
- "3.11"
- "3.12"
runs-on: linux-${{ matrix.ARCH }}-cpu4
container:
image: "rapidsai/ci-conda:cuda${{ matrix.CUDA_VER }}-ubuntu22.04-py${{ matrix.PY_VER }}"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: build
run: "${{ inputs.script }}"
- name: upload
uses: actions/upload-artifact@v4
with:
name: legate-dataframe-conda-cuda${{ matrix.CUDA_VER }}-${{ matrix.ARCH }}-py${{ matrix.PY_VER }}
path: ${{ env.RAPIDS_CONDA_BLD_OUTPUT_DIR }}
if-no-files-found: error