forked from postgis/postgis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.drone-1.0.yml
49 lines (43 loc) · 1.13 KB
/
.drone-1.0.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
45
46
47
48
49
# This is for the drone 1.0 agent
# https://docs.drone.io/user-guide/pipeline/steps/
# https://dronie.osgeo.org #1.0 server
# See https://git.osgeo.org/gitea/postgis/postgis-docker
# todo: add docker images from https://hub.docker.com/r/postgis/postgis-build-env/tags/
test-image: &test-image docker.osgeo.org/postgis/build-test:trisquel2
clone: &clone
image: plugins/git
depth: 20
recursive: false
kind: pipeline
name: build
clone: *clone
steps:
- name: autogen
image: *test-image
pull: always
commands:
- ./autogen.sh
depends_on: [ clone ]
- name: build-11
image: *test-image
pull: never
commands:
- PGVER=11 sh ci/dronie/postgis_regress.sh
depends_on: [ autogen ]
- name: build-12
image: *test-image
pull: never
commands:
- PGVER=12 sh ci/dronie/postgis_regress.sh
depends_on: [ autogen ]
- name: build-docs
image: *test-image
pull: never
commands:
- mkdir -p build-docs && cd build-docs
- ../configure
- make docs
- make -C doc check
- make docs-localized
- make -C doc/ check-localized
depends_on: [ autogen ]