From 9d1f60e824edbc6569abf864751d9912b70d7f99 Mon Sep 17 00:00:00 2001 From: Vyas Ramasubramani Date: Fri, 3 Nov 2023 16:34:37 -0700 Subject: [PATCH] Add build workflow --- .github/workflows/build.yaml | 65 ++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 .github/workflows/build.yaml diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..1ca9a5a --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,65 @@ +name: build + +on: + push: + branches: + - "branch-*" + tags: + - v[0-9][0-9].[0-9][0-9].[0-9][0-9] + workflow_dispatch: + inputs: + branch: + required: true + type: string + date: + required: true + type: string + sha: + required: true + type: string + build_type: + type: string + default: nightly + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + python-build: + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-23.12 + with: + build_type: ${{ inputs.build_type || 'branch' }} + branch: ${{ inputs.branch }} + date: ${{ inputs.date }} + sha: ${{ inputs.sha }} + #upload-conda: + # needs: [cpp-build, python-build] + # secrets: inherit + # uses: rapidsai/shared-workflows/.github/workflows/conda-upload-packages.yaml@branch-23.12 + # with: + # build_type: ${{ inputs.build_type || 'branch' }} + # branch: ${{ inputs.branch }} + # date: ${{ inputs.date }} + # sha: ${{ inputs.sha }} + # skip_upload_pkgs: libcudf-example + wheel-build: + secrets: inherit + uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@branch-23.12 + with: + build_type: ${{ inputs.build_type || 'branch' }} + branch: ${{ inputs.branch }} + sha: ${{ inputs.sha }} + date: ${{ inputs.date }} + script: ci/build_wheel.sh + #wheel-publish: + # needs: wheel-build-cudf + # secrets: inherit + # uses: rapidsai/shared-workflows/.github/workflows/wheels-publish.yaml@branch-23.12 + # with: + # build_type: ${{ inputs.build_type || 'branch' }} + # branch: ${{ inputs.branch }} + # sha: ${{ inputs.sha }} + # date: ${{ inputs.date }} + # package-name: rapids_dask_dependency