diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 00ebda72346f45ff23ef661ffc4de0154620e604..3f7e7601d9f9995b2a2fd7044b99a0818771864a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,5 @@ Python 3 POCL: script: | - export PY_EXE=python3 export PYOPENCL_TEST=portable:pthread export EXTRA_INSTALL="jax[cpu]" curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh @@ -17,11 +16,13 @@ Python 3 POCL: Python 3 Nvidia Titan V: script: | - export PY_EXE=python3 + curl -L -O https://tiker.net/ci-support-v0 + . ./ci-support-v0 export PYOPENCL_TEST=nvi:titan - export EXTRA_INSTALL="jax[cuda]" - curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-and-test-py-project.sh - . ./build-and-test-py-project.sh + build_py_project_in_venv + pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_releases.html + test_py_project + tags: - python3 - nvidia-titan-v @@ -34,7 +35,6 @@ Python 3 Nvidia Titan V: Python 3 POCL Examples: script: - test -n "$SKIP_EXAMPLES" && exit - - export PY_EXE=python3 - export PYOPENCL_TEST=portable:pthread - curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/main/build-py-project-and-run-examples.sh - ". ./build-py-project-and-run-examples.sh" @@ -75,7 +75,6 @@ Flake8: Pylint: script: | - export PY_EXE=python3 EXTRA_INSTALL="jax[cpu]" curl -L -O https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh . ./prepare-and-run-pylint.sh "$CI_PROJECT_NAME" examples/*.py test/test_*.py @@ -86,6 +85,7 @@ Pylint: Mypy: script: | + EXTRA_INSTALL="jax[cpu]" curl -L -O https://tiker.net/ci-support-v0 . ./ci-support-v0 build_py_project_in_venv