Skip to content

Commit da36c13

Browse files
committed
test
1 parent 4e34a62 commit da36c13

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.github/workflows/linux-release-artifacts.yml

+9-7
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ on:
4545
description: "Channel to use (nightly, test, release, all)"
4646
default: ""
4747
type: string
48-
# script:
49-
# description: 'Script to utilize'
50-
# default: "python setup.py bdist_wheel"
51-
# type: string
48+
script:
49+
description: 'Script to utilize'
50+
default: "python setup.py bdist_wheel"
51+
type: string
5252
continue-on-error:
5353
description: "Prevents a job from failing when a step fails. Set to true to allow a job to pass when exec script step fails."
5454
default: false
@@ -69,10 +69,10 @@ jobs:
6969
REPOSITORY: ${{ inputs.repository }}
7070
REF: ${{ inputs.ref }}
7171
CU_VERSION: ${{ matrix.desired_cuda }}
72-
# SCRIPT: ${{ inputs.script }}
73-
# RUNNER_TEST_RESULTS_DIR: /tmp/test_results
72+
SCRIPT: ${{ inputs.script }}
73+
RUNNER_TEST_RESULTS_DIR: /tmp/test_results
7474
ARCH: ${{ inputs.architecture }}
75-
name: ${{ inputs.job-name }}-${{ matrix.desired_cuda }}
75+
name: ${{ inputs.job-name }}-${{ matrix.python_version }}-${{ matrix.desired_cuda }}
7676
runs-on: ${{ matrix.validation_runner }}
7777
container:
7878
image: ${{ matrix.container_image }}
@@ -134,7 +134,9 @@ jobs:
134134
ALL_SECRETS: ${{ toJSON(secrets) }}
135135
run: |
136136
set -euxo pipefail
137+
# shellcheck disable=SC2086
137138
source "${BUILD_ENV_FILE}"
139+
echo "lan added"
138140
{
139141
echo "${SCRIPT}";
140142
} > "user_script"

.github/workflows/linux-release.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- repository: pytorch/tensorrt
5656
- package-name: torch_tensorrt
5757
uses: ./.github/workflows/linux-release-artifacts.yml
58-
if: ${{ contains( github.event.pull_request.labels.*.name, 'build-release-artifacts') }}
58+
if: ${{ contains(github.event.pull_request.labels.*.name, 'build-release-artifacts') }}
5959
with:
6060
job-name: build-release-artifiacts
6161
repository: "pytorch/tensorrt"
@@ -64,6 +64,8 @@ jobs:
6464
test-infra-ref: main
6565
build-matrix: ${{ needs.generate-matrix.outputs.matrix }}
6666
pre-script: ${{ matrix.pre-script }}
67+
script: |
68+
export USE_HOST_DEPS=1
6769
6870
concurrency:
6971
group: ${{ github.workflow }}-${{ github.ref_name }}-${{ inputs.repository }}-${{ inputs.job-name }}

0 commit comments

Comments
 (0)