Skip to content

Commit

Permalink
remove pushd/popd
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-forbes-cp committed Nov 29, 2024
1 parent 08c242e commit 70a7641
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/actions/do_build_opencl_cts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,12 @@ runs:
git apply $GITHUB_WORKSPACE/.github/patches/OpenCL-CTS-0001-Patch-sub-group-testing.patch
git apply $GITHUB_WORKSPACE/.github/patches/OpenCL-CTS-0002-Permit-building-for-unknown-architectures.patch
popd
pushd install_headers
#pushd install_headers
set -x
cmake -G Ninja $GITHUB_WORKSPACE/OpenCL-CTS "-DCMAKE_BUILD_TYPE=Release" -DOPENCL_LIBRARIES=OpenCL "-DCL_INCLUDE_DIR=$GITHUB_WORKSPACE/install_headers/include" "-DCL_LIB_DIR=$GITHUB_WORKSPACE/install_icd/lib"
ninja -v
#python3 $GITHUB_WORKSPACE/OpenCL-CTS/test_conformance/spirv_new/assemble_spirv.py -v --source-dir $GITHUB_WORKSPACE/OpenCL-CTS/test_conformance/spirv_new/spirv_asm --output-dir $GITHUB_WORKSPACE/install_headers/test_conformance/spirv_bin
set +x
popd
#popd
cp -R install_icd/bin OpenCL-CTS # for cllayerinfo artefact upload
- name: upload opencl cts artifacts
Expand Down

0 comments on commit 70a7641

Please sign in to comment.