Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
lanluo-nvidia committed Jun 17, 2024
1 parent 2c3efb6 commit 4e34a62
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/linux-release-artifacts.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Release artifacts on Linux
name: Build release artifacts on Linux

on:
workflow_call:
Expand Down Expand Up @@ -59,7 +59,7 @@ on:
type: string

jobs:
build:
build-release:
strategy:
fail-fast: false
matrix: ${{ fromJSON(inputs.build-matrix) }}
Expand Down Expand Up @@ -200,5 +200,5 @@ jobs:
# s3-prefix: ${{ env.REPOSITORY }}/${{ github.event.pull_request.number }}

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ inputs.repository }}-${{ inputs.job-name }}
cancel-in-progress: true
8 changes: 3 additions & 5 deletions .github/workflows/linux-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
post-script: packaging/post_build_script.sh
smoke-test-script: packaging/smoke_test_script.sh
package-name: torch_tensorrt
# env:
# CU_VERSION: ${{ build-matrix.desired_cuda }}
# PYTHON_VERSION: ${{ build-matrix.python_version }}
name: Build torch-tensorrt whl package
uses: pytorch/test-infra/.github/workflows/build_wheels_linux.yml@release/2.3
with:
Expand All @@ -49,13 +46,14 @@ jobs:
trigger-event: ${{ github.event_name }}

build-release-artifacts:
name: Build other release artifacts
name: Build torch-tensorrt release artifacts
needs: [generate-matrix, build]
strategy:
fail-fast: false
matrix:
include:
- repository: pytorch/tensorrt
- package-name: torch_tensorrt
uses: ./.github/workflows/linux-release-artifacts.yml
if: ${{ contains( github.event.pull_request.labels.*.name, 'build-release-artifacts') }}
with:
Expand All @@ -68,5 +66,5 @@ jobs:
pre-script: ${{ matrix.pre-script }}

concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ inputs.repository }}-${{ inputs.job-name }}
cancel-in-progress: true

0 comments on commit 4e34a62

Please sign in to comment.