From 5190d5d881afd3a85e43696c02e66289c8ce5b01 Mon Sep 17 00:00:00 2001 From: roxx30198 Date: Mon, 6 Nov 2023 17:23:30 -0700 Subject: [PATCH] Debug commit --- .github/workflows/conda-package.yml | 32 +++++++++++++++-------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/.github/workflows/conda-package.yml b/.github/workflows/conda-package.yml index d385434f3f..f4ef635fb3 100644 --- a/.github/workflows/conda-package.yml +++ b/.github/workflows/conda-package.yml @@ -187,27 +187,29 @@ jobs: - name: Smoke test run: python -c "import dpnp, dpctl, numba_dpex; dpctl.lsplatform()" - - name: Run tests - run: | - pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv - - - name: Run examples - shell: bash -l {0} - run: | - cd ${{ env.EXAMPLES_PATH }} - for script in $(find . \( -not -name "_*" -not -name "side-by-side*" -not -name "vectorize.py" -not -name "scan.py" -and -name "*.py" \)) - do - echo "Executing ${script}" - python ${script} || exit 1 - done + # - name: Run tests + # run: | + # pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv + + # - name: Run examples + # shell: bash -l {0} + # run: | + # cd ${{ env.EXAMPLES_PATH }} + # for script in $(find . \( -not -name "_*" -not -name "side-by-side*" -not -name "vectorize.py" -not -name "scan.py" -and -name "*.py" \)) + # do + # echo "Executing ${script}" + # python ${script} || exit 1 + # done - name: Run gdb tests run: | + conda install pexpect wget -nc -q https://registrationcenter-download.intel.com/akdlm/IRC_NAS/fcea1bcd-6a63-4849-b304-906ff71dc2c0/l_dpcpp_dbg_p_2023.2.0.49333_offline.sh chmod +x l_dpcpp_dbg_p_2023.2.0.49333_offline.sh - mkdir /opt/intel/oneapi - export ONEAPI_ROOT=/opt/intel/oneapi + mkdir /tmp/gdb + export ONEAPI_ROOT=/tmp/gdb ./l_dpcpp_dbg_p_2023.2.0.49333_offline.sh -a -s --eula accept --install-dir $ONEAPI_ROOT + source $ONEAPI_ROOT/debugger/latest/env/vars.sh pytest -q -ra --disable-warnings --pyargs ${{ env.GDB_TESTS_PATH }} -vv upload_anaconda: