Skip to content
Snippets Groups Projects
Commit 56fef44b authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Refactor/use shipped examples runner in Github CI

parent f19af5e9
No related branches found
No related tags found
1 merge request!415Github ci run examples
Pipeline #77974 failed
......@@ -77,7 +77,10 @@ jobs:
curl -L "https://ci.appveyor.com/api/projects/ispc/ispc/artifacts/build%2Fispc-trunk-linux.tar.gz?job=Environment%3A%20APPVEYOR_BUILD_WORKER_IMAGE%3DUbuntu1604%2C%20LLVM_VERSION%3Dlatest" | tar xfz -
export PATH="$(pwd)/ispc-trunk-linux/bin:$PATH"
run_examples
. ./build-py-project-and-run-examples.sh
run_py_examples
run_ipynb_examples
run_floopy_examples
docs:
name: Documentation
......
......@@ -69,16 +69,26 @@ Python 3 POCL Twice With Cache:
# - tags
Python 3 POCL Examples:
script:
- export PY_EXE=python3
- export PYOPENCL_TEST=portable:pthread
- export EXTRA_INSTALL="pybind11 numpy mako pyvisfile matplotlib ipykernel nbconvert"
- ". ./build-py-project-and-run-examples.sh"
script: |
export PY_EXE=python3
export PYOPENCL_TEST=portable:pthread
export EXTRA_INSTALL="pybind11 numpy mako pyvisfile matplotlib ipykernel nbconvert"
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/ci-support.sh
. ./ci-support.sh
build_py_project_in_venv
curl -L "https://ci.appveyor.com/api/projects/ispc/ispc/artifacts/build%2Fispc-trunk-linux.tar.gz?job=Environment%3A%20APPVEYOR_BUILD_WORKER_IMAGE%3DUbuntu1604%2C%20LLVM_VERSION%3Dlatest" | tar xfz -
export PATH="$(pwd)/ispc-trunk-linux/bin:$PATH"
. ./build-py-project-and-run-examples.sh
run_py_examples
run_ipynb_examples
run_floopy_examples
tags:
- python3
- pocl
- large-node
- ispc
except:
- tags
......
......@@ -2,9 +2,6 @@
set -e
curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-py-project.sh
source build-py-project.sh
function run_examples()
{
PATTERN=$1
......@@ -32,6 +29,3 @@ function run_floopy_examples()
run_examples "*.floopy" "${PY_EXE} -m loopy"
}
run_py_examples
run_ipynb_examples
run_floopy_examples
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment