Skip to content

Commit 578c62e

Browse files
Add if else
1 parent 8ab41c6 commit 578c62e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/standalone-benchmark.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,12 @@ jobs:
5757
- name: Download Files
5858
run: |
5959
mkdir -p ${STANDALONE_DIR}
60-
61-
curl -fL --retry 3 -o ${STANDALONE_DIR}/nsys.rpm https://developer.nvidia.com/downloads/assets/tools/secure/nsight-systems/2026_2/NsightSystems-linux-cli-public-2026.2.1.210-3763964.rpm
62-
dnf install -y nsys.rpm
63-
rm -f ${STANDALONE_DIR}/nsys.rpm
60+
61+
if [[ "${{ matrix.vendor }}"" == "nvidia" ]]; then
62+
curl -fL --retry 3 -o ${STANDALONE_DIR}/nsys.rpm https://developer.nvidia.com/downloads/assets/tools/secure/nsight-systems/2026_2/NsightSystems-linux-cli-public-2026.2.1.210-3763964.rpm
63+
dnf install -y nsys.rpm
64+
rm -f ${STANDALONE_DIR}/nsys.rpm
65+
fi
6466
6567
curl -fL --retry 3 -o ${STANDALONE_DIR}/o2-simple-GPU.out https://cernbox.cern.ch/remote.php/dav/public-files/SfYXgQOHFga2w75/o2-simple-GPU.out
6668

0 commit comments

Comments
 (0)