-
Notifications
You must be signed in to change notification settings - Fork 5
/
.woodpecker.yaml
69 lines (60 loc) · 2.15 KB
/
.woodpecker.yaml
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
variables:
- &ci_image 'cont-reg.bjodah.se:443/bjodah/triceratops-3:17'
when:
- event: [push] # pull_request, tag, cron,
steps:
- name: pypy
image: *ci_image
commands:
- .ci/test-case.sh --tmp --python /opt-3/pypy3.??-v*-linux64/bin/python3 /opt-3/sundials-6.7.0-debug
- name: py3.11-dbg
image: *ci_image
commands:
- .ci/test-case.sh --tmp --python /opt-3/cpython-v3.11.?-debug/bin/python3 /opt-3/sundials-6.7.0-debug
- name: py3.12-dbg
image: *ci_image
commands:
- /opt-3/cpython-v3.12.2-debug/bin/python3 -m pip install -U --pre --only-binary ":all:" -i "https://pypi.anaconda.org/scientific-python-nightly-wheels/simple" numpy
- .ci/test-case.sh --tmp --python /opt-3/cpython-v3.12.?-debug/bin/python3 /opt-3/sundials-6.7.0-debug
- name: py3.11-extended
image: *ci_image
environment:
- PYCVODES_NO_LAPACK=1
- PYCVODES_NO_KLU=1
commands:
- .ci/test-case.sh --tmp --python /opt-3/cpython-v3.11-apt-deb/bin/python3 /opt-3/sundials-6.7.0-extended
- name: py3.12-single
image: *ci_image
environment:
- PYCVODES_NO_LAPACK=1
- PYCVODES_NO_KLU=1
commands:
- .ci/test-case.sh --tmp --python /opt-3/cpython-v3.12.2-release/bin/python3 /opt-3/sundials-6.7.0-single
- name: sdist-and-docs
image: *ci_image
environment:
- PYCVODES_STRICT=1
- LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu
commands:
#- git fetch -tq
# - bash -c '[[ $(python3 setup.py --version 2>/dev/null) =~ ^[0-9]+.* ]]'
- .ci/test-sdist.sh
- ./scripts/prepare_deploy.sh
- if grep "DO-NOT-MERGE!" -R . --exclude ".woodpecker.yaml"; then exit 1; fi
depends_on:
- pypy
- py3.11-dbg
- py3.12-dbg
- py3.11-extended
- py3.12-single
- name: deploy-public-html
image: *ci_image
commands:
- tar -C ./deploy/public_html -czf pycvodes-${CI_COMMIT_BRANCH}.tar.gz .
- curl -T pycvodes-${CI_COMMIT_BRANCH}.tar.gz ftp://pycvodes:$${ARTIFACTS_PASS}@$${FTP_SERVER}/public_html/
secrets: [ ARTIFACTS_PASS, FTP_SERVER ]
when:
- event: push
repo: bjodah/pycvodes
depends_on:
- sdist-and-docs