From 46b5f3fd24a4d5e0ff5092e413168493c22dfda8 Mon Sep 17 00:00:00 2001 From: brandon-b-miller Date: Mon, 27 Nov 2023 19:05:25 -0800 Subject: [PATCH] add build.yaml --- .github/workflows/build.yaml | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 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 00000000..c4c22149 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,39 @@ +# Copyright (c) 2023, NVIDIA CORPORATION. +name: Build and test + +on: + push: + tags: + - 'v*' + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }}-release + cancel-in-progress: true + +jobs: + pr-builder: + needs: + - checks + - build-and-test-wheels + secrets: inherit + uses: rapidsai/shared-action-workflows/.github/workflows/pr-builder.yaml@branch-23.12 + checks: + secrets: inherit + uses: rapidsai/shared-action-workflows/.github/workflows/checks.yaml@branch-23.12 + with: + enable_check_generated_files: false + enable_check_pr_job_dependencies: false + build-and-test-wheels: + uses: ./build_and_test_wheels.yaml + wheel-publish-pynvjitlink: + needs: + - build-and-test-wheels + # Only trigger this step for tags + 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: pynvjitlink-cu12