Skip to content

Commit

Permalink
Debug commit
Browse files Browse the repository at this point in the history
  • Loading branch information
roxx30198 committed Nov 7, 2023
1 parent fd959b9 commit 5190d5d
Showing 1 changed file with 17 additions and 15 deletions.
32 changes: 17 additions & 15 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5190d5d

Please sign in to comment.