Skip to content

Commit c9935e7

Browse files
committed
added dockers fix
Signed-off-by: rbanka1 <[email protected]>
1 parent 77217e9 commit c9935e7

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

.github/workflows/ur-build-hw.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ env:
7676
UR_LOG_LEVEL_ZERO: "level:error;flush:error"
7777
UR_LOG_NATIVE_CPU: "level:error;flush:error"
7878
UR_LOG_OPENCL: "level:error;flush:error"
79-
CURRENT_DIR: $(pwd)
8079

8180
jobs:
8281
adapter_build_hw:
@@ -113,9 +112,10 @@ jobs:
113112
- name: Checkout LLVM
114113
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
115114

115+
# Need to specify python 3.10 for ubuntu 24.04 image because it has python 3.12 by default, but only in 3.10 venv is installed.
116116
- name: Set up Python 3.10
117117
if: ${{ inputs.docker_image == 'ghcr.io/intel/llvm/ubuntu2404_intel_drivers:alldeps' }}
118-
uses: actions/setup-python@v5
118+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
119119
with:
120120
python-version: '3.10'
121121

@@ -124,7 +124,7 @@ jobs:
124124
run: |
125125
python3 -m venv .venv
126126
. .venv/bin/activate
127-
echo "${PWD}/.venv/bin" >> $GITHUB_PATH
127+
echo "$PATH" >> $GITHUB_PATH
128128
pip install -r third_party/requirements.txt
129129
pip install -r third_party/requirements_testing.txt
130130
@@ -178,16 +178,16 @@ jobs:
178178
env:
179179
ZE_ENABLE_LOADER_DEBUG_TRACE: 1
180180
ZE_DEBUG: 1
181-
run: ctest -C ${{matrix.build_type}} --test-dir build --output-on-failure -L "adapter-specific" -E "memcheck" --timeout 600
181+
run: ctest -C ${{matrix.build_type}} --test-dir build --output-on-failure -L "adapter-specific" -E "memcheck" --timeout 600 -VV
182182
# Don't run adapter specific tests when building multiple adapters
183183
if: ${{ matrix.adapter.other_name == '' }}
184184

185185
- name: Test adapters
186186
env:
187187
ZE_ENABLE_LOADER_DEBUG_TRACE: 1
188188
ZE_DEBUG: 1
189-
run: env UR_CTS_ADAPTER_PLATFORM="${{matrix.adapter.platform}}" ctest -C ${{matrix.build_type}} --test-dir build --output-on-failure -L "conformance" --timeout 600
189+
run: env UR_CTS_ADAPTER_PLATFORM="${{matrix.adapter.platform}}" ctest -C ${{matrix.build_type}} --test-dir build --output-on-failure -L "conformance" --timeout 600 -VV
190190

191191
- name: Get information about platform
192192
if: ${{ always() }}
193-
run: ./unified-runtime/.github/scripts/get_system_info.sh
193+
run: ./unified-runtime/.github/scripts/get_system_info.sh

.github/workflows/ur-precommit.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ name: Unified Runtime Pre Commit
55

66
# Note: the trigger is copy-pasted from sycl-linux-precommit.yml - probably to be fine-tuned.
77
on:
8-
push:
9-
branches-ignore:
10-
- 'dependabot/**'
118
# We rely on "Fork pull request workflows from outside collaborators" -
129
# "Require approval for all outside collaborators" at
1310
# https://github.com/intel/llvm/settings/actions for security.
@@ -148,4 +145,4 @@ jobs:
148145
# -DUR_FORMAT_CPP_STYLE=ON
149146

150147
# - name: Build
151-
# run: cmake --build ${{github.workspace}}/build -j $(sysctl -n hw.logicalcpu)
148+
# run: cmake --build ${{github.workspace}}/build -j $(sysctl -n hw.logicalcpu)

0 commit comments

Comments
 (0)