From 673cff934d7b6765a3ed3273fe85d58da12d94fe Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Fri, 25 Jun 2021 16:58:10 -0500 Subject: [PATCH] Add Intel CL Github CI job --- .github/workflows/ci.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c74a38..be07365 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,12 +58,32 @@ jobs: - uses: actions/checkout@v2 - name: "Main Script" run: | - export MPLBACKEND=Agg curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/ci-support.sh . ./ci-support.sh build_py_project_in_conda_env test_py_project + pytest3_intel_cl: + name: Pytest Conda Py3 + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: "Main Script" + run: | + curl -L -O https://raw.githubusercontent.com/illinois-scicomp/machine-shop-maintenance/main/install-intel-icd.sh + sudo bash ./install-intel-icd.sh + + CONDA_ENVIRONMENT=.test-conda-env-py3.yml + echo "- ocl-icd-system" >> "$CONDA_ENVIRONMENT" + sed -i "/pocl/ d" "$CONDA_ENVIRONMENT" + export PYOPENCL_TEST=intel + source /opt/enable-intel-cl.sh + + curl -L -O https://tiker.net/ci-support-v0 + . ./ci-support-v0 + build_py_project_in_conda_env + test_py_project + examples3: name: Examples Conda Py3 runs-on: ubuntu-latest -- GitLab