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