Skip to content

Commit a34823b

Browse files
committed
just move PTI build into 'integration-tests' job
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 44e3dd3 commit a34823b

File tree

1 file changed

+10
-15
lines changed

1 file changed

+10
-15
lines changed

.github/workflows/build-test-reusable.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ jobs:
8383
shell: bash -noprofile --norc -eo pipefail -c "source /opt/intel/oneapi/setvars.sh > /dev/null; source {0}"
8484
outputs:
8585
test-triton-command: ${{ steps.test-triton.outputs.command }}
86-
pti_libs_dir: ${{ steps.build-proton.outputs.pti_libs_dir }}
8786
steps:
8887
- name: Print inputs
8988
run: |
@@ -121,21 +120,9 @@ jobs:
121120

122121
- name: Build Proton with XPU support
123122
if: inputs.driver_version == 'rolling' && inputs.device == 'max1100'
124-
id: build-proton
125123
run: |
126124
echo TRITON_BUILD_PROTON_XPU=1 | tee -a $GITHUB_ENV
127125
128-
git clone https://github.com/intel/pti-gpu.git
129-
cd pti-gpu
130-
git checkout 15a201d25e5659692613b98ee33513263b689101
131-
cd sdk
132-
cmake --preset linux-icpx-release
133-
BUILD_TESTING=1 PTI_BUILD_SAMPLES=1 cmake --build --preset linux-icpx-release
134-
135-
PTI_LIBS_DIR="$(pwd)/build-linux-icpx-release/lib/"
136-
ls $PTI_LIBS_DIR
137-
echo "pti_libs_dir=$PTI_LIBS_DIR" >> $GITHUB_OUTPUT
138-
139126
- name: Build Triton
140127
uses: ./.github/actions/setup-triton
141128
with:
@@ -298,10 +285,18 @@ jobs:
298285
run: |
299286
echo "TRITON_TEST_CMD=${{ needs.build.outputs.test-triton-command }}" | tee -a $GITHUB_ENV
300287
301-
- name: Run Proton tests
288+
- name: Build PTI && Run Proton tests
302289
if: matrix.suite == 'rest' && inputs.driver_version == 'rolling' && inputs.device == 'max1100'
303290
run: |
304-
export "PTI_LIBS_DIR=${{ needs.build.outputs.pti_libs_dir }}"
291+
git clone https://github.com/intel/pti-gpu.git
292+
cd pti-gpu
293+
git checkout 15a201d25e5659692613b98ee33513263b689101
294+
cd sdk
295+
cmake --preset linux-icpx-release
296+
BUILD_TESTING=1 PTI_BUILD_SAMPLES=1 cmake --build --preset linux-icpx-release
297+
298+
PTI_LIBS_DIR="$(pwd)/build-linux-icpx-release/lib/"
299+
305300
export LD_LIBRARY_PATH=$PTI_LIBS_DIR:$LD_LIBRARY_PATH
306301
export TRITON_XPUPTI_LIB_PATH=$PTI_LIBS_DIR
307302
cd third_party/proton/test

0 commit comments

Comments
 (0)