forked from scikit-hep/fastjet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.cirrus.yml
44 lines (38 loc) · 1.07 KB
/
.cirrus.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
task:
only_if: $CIRRUS_BRANCH == 'main' || $CIRRUS_BRANCH == 'develop' || $CIRRUS_TAG != '' || $CIRRUS_PR != ''
env:
CIRRUS_CLONE_SUBMODULES: true
matrix:
- name: Test build
# Default is 2 CPUs and 4 GB of memory
arm_container:
cpu: 4
memory: 6G
matrix:
- image: python:3.8
- image: python:3.12
install_build_dependencies_script: |
apt-get update
apt-get -qq -y install --no-install-recommends \
gcc \
g++ \
libboost-dev \
libmpfr-dev \
libgmp-dev \
swig \
autoconf \
libtool \
patch \
automake
create_venv_script: |
python -m venv ../venv
install_script: |
. ../venv/bin/activate
python -m pip install --upgrade pip setuptools wheel
python -m pip install --verbose '.[test]'
python -m pip list
pytest_script: |
. ../venv/bin/activate
python -m pip install --upgrade pytest
python -m pip list
pytest -vv -rs -Wd