From 6daabd87851c563ed862590ee9952cd39c0e8070 Mon Sep 17 00:00:00 2001 From: Alexey Sachkov Date: Fri, 20 Dec 2024 15:57:23 +0100 Subject: [PATCH] [SYCL][Devops] Drop `-S` flag to `sudo` (#16442) Follow-up fix for #16438 --- .github/workflows/sycl-linux-run-tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/sycl-linux-run-tests.yml b/.github/workflows/sycl-linux-run-tests.yml index e445386baa4ad..73b2a1f336db7 100644 --- a/.github/workflows/sycl-linux-run-tests.yml +++ b/.github/workflows/sycl-linux-run-tests.yml @@ -159,8 +159,8 @@ jobs: - name: Reset Intel GPU if: inputs.reset_intel_gpu == 'true' run: | - sudo -S mount -t debugfs none /sys/kernel/debug - sudo -S bash -c 'echo 1 > /sys/kernel/debug/dri/0/i915_wedged' + sudo mount -t debugfs none /sys/kernel/debug + sudo bash -c 'echo 1 > /sys/kernel/debug/dri/0/i915_wedged' - uses: actions/checkout@v4 with: ref: ${{ inputs.ref }} @@ -196,9 +196,9 @@ jobs: run: | if [ "${{ inputs.install_dev_igc_driver }}" = "true" ]; then # If libllvm14 is already installed (dev igc docker), still return true. - sudo -S apt-get install -yqq libllvm14 || true; + sudo apt-get install -yqq libllvm14 || true; fi - sudo -S -E bash devops/scripts/install_drivers.sh llvm/devops/dependencies.json ${{ inputs.install_dev_igc_driver == 'true' && 'llvm/devops/dependencies-igc-dev.json --use-dev-igc' || '' }} --all + sudo -E bash devops/scripts/install_drivers.sh llvm/devops/dependencies.json ${{ inputs.install_dev_igc_driver == 'true' && 'llvm/devops/dependencies-igc-dev.json --use-dev-igc' || '' }} --all - name: Source OneAPI TBB vars.sh shell: bash run: |