Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1ca320e

Browse files
committed
Start using Cirrus CI
1 parent 7f7dfc9 commit 1ca320e

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

.cirrus.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
linux_aarch64_test_task:
2+
compute_engine_instance:
3+
image_project: cirrus-images
4+
image: family/docker-builder-arm64
5+
architecture: arm64
6+
platform: linux
7+
cpu: 4
8+
memory: 16G
9+
10+
pip_cache:
11+
folder: ~/.cache/pip
12+
13+
setup_script: |
14+
# apt-get install -yy gcc python3.10 python3-dev
15+
python3 -m pip install --upgrade pip setuptools
16+
python3 -m pip install --upgrade 'contourpy>=1.0.1' cycler fonttools kiwisolver importlib_resources \
17+
numpy packaging pillow pyparsing python-dateutil setuptools-scm sphinx
18+
python3 -m pip install -r requirements/testing/all.txt
19+
python3 -m pip install -v .
20+
21+
test_script: |
22+
pytest -n auto
23+
24+
25+
macos_arm64_test_task:
26+
macos_instance:
27+
image: ghcr.io/cirruslabs/macos-monterey-xcode:13.3.1
28+
29+
pip_cache:
30+
folder: ~/.cache/pip
31+
32+
test_script: |
33+
brew install [email protected]
34+
export PATH=/opt/homebrew/opt/[email protected]/libexec/bin:$PATH
35+
python --version
36+
pushd ~/
37+
python -m venv mpl-dev
38+
source mpl-dev/bin/activate
39+
popd
40+
41+
python -m pip install --upgrade pip setuptools
42+
python -m pip install --upgrade 'contourpy>=1.0.1' cycler fonttools kiwisolver importlib_resources \
43+
numpy packaging pillow pyparsing python-dateutil setuptools-scm sphinx
44+
python -m pip install -r requirements/testing/all.txt
45+
python -m pip install -v .
46+
pytest -n auto
47+
48+
49+
freebsd_test_task:
50+
freebsd_instance:
51+
image_family: freebsd-13-1
52+
53+
pip_cache:
54+
folder: ~/.cache/pip
55+
56+
setup_script: |
57+
# pkg update -f
58+
# pkg upgrade -f
59+
pkg install -y python37 python39 py39-pip py39-cycler qhull py39-numpy py39-setuptools py39-pillow
60+
python3 --version
61+
pip3 install --upgrade pip
62+
pip3 install --user --upgrade 'contourpy>=1.0.1' fonttools kiwisolver importlib_resources \
63+
packaging pyparsing python-dateutil setuptools-scm sphinx
64+
pip3 install --user -r requirements/testing/all.txt
65+
pip3 install --user -v .
66+
67+
test_script: |
68+
pytest -n auto

0 commit comments

Comments
 (0)