Skip to content
.gitlab-ci.yml 2.85 KiB
Newer Older
    - export PY_EXE=python3
    - export PYOPENCL_TEST=portable:pthread
    - export EXTRA_INSTALL="pybind11 numpy mako matplotlib"
    - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project.sh
    - ". ./build-and-test-py-project.sh"
    tags:
    - python3
    except:
    - tags
    artifacts:
        reports:
            junit: test/pytest.xml

Python 3 POCL Titan V:
    - export PYOPENCL_TEST=portable:titan
    - CONDA_ENVIRONMENT=.test-conda-env-py3.yml
    - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project-within-miniconda.sh
    - ". ./build-and-test-py-project-within-miniconda.sh"
    tags:
    - nvidia-titan-v
    except:
    - tags
    artifacts:
        reports:
            junit: test/pytest.xml
Python 3 POCL Titan X:
    - export PYOPENCL_TEST=portable:titan
    - CONDA_ENVIRONMENT=.test-conda-env-py3.yml
    - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project-within-miniconda.sh
    - ". ./build-and-test-py-project-within-miniconda.sh"
    - nvidia-titan-x
    except:
    - tags
    artifacts:
        reports:
            junit: test/pytest.xml
# Python 3 POCL K40:
#     script:
#     - export PYOPENCL_TEST=portable:k40
#     - CONDA_ENVIRONMENT=.test-conda-env-py3.yml
#     - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-and-test-py-project-within-miniconda.sh
#     - ". ./build-and-test-py-project-within-miniconda.sh"
#     tags:
#     - nvidia-k40
#     except:
#     - tags
#     artifacts:
#         reports:
#             junit: test/pytest.xml
Hao Gao's avatar
Hao Gao committed
Python 3 POCL Examples:
Hao Gao's avatar
Hao Gao committed
  - test -n "$SKIP_EXAMPLES" && exit
  - export PY_EXE=python3
  - export PYOPENCL_TEST=portable:pthread
Hao Gao's avatar
Hao Gao committed
  - export EXTRA_INSTALL="pybind11 numpy mako pyvisfile matplotlib"
  - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-py-project-and-run-examples.sh
  - ". ./build-py-project-and-run-examples.sh"
  tags:
  - pocl
  except:
  - tags
  artifacts:
    reports:
      junit: test/pytest.xml
Matt Wala's avatar
Matt Wala committed
Pylint:
  script:
Matt Wala's avatar
Matt Wala committed
  - export PY_EXE=python3
Matt Wala's avatar
Matt Wala committed
  - EXTRA_INSTALL="pybind11 numpy mako matplotlib"
Matt Wala's avatar
Matt Wala committed
  - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-pylint.sh
  - ". ./prepare-and-run-pylint.sh boxtree test/test_*.py"
  tags:
Matt Wala's avatar
Matt Wala committed
  - python3
Matt Wala's avatar
Matt Wala committed
  except:
  - tags
Documentation:
    - EXTRA_INSTALL="pybind11 numpy mako"
    - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/build-docs.sh
    - ". ./build-docs.sh"
    tags:
    - python3
Andreas Klöckner's avatar
Andreas Klöckner committed

Flake8:
    script:
    - curl -L -O -k https://gitlab.tiker.net/inducer/ci-support/raw/master/prepare-and-run-flake8.sh
    - ". ./prepare-and-run-flake8.sh boxtree test examples"
    except:
    - tags