forked from pgbackrest/pgbackrest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.cirrus.yml
More file actions
64 lines (49 loc) · 2.69 KB
/
Copy path.cirrus.yml
File metadata and controls
64 lines (49 loc) · 2.69 KB
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
# Cirrus CI Build Definitions
# ----------------------------------------------------------------------------------------------------------------------------------
# Build the branch if it is integration, a pull request, or ends in -ci/-cic (-cic targets only Cirrus CI)
only_if: $CIRRUS_BRANCH == 'integration' || $CIRRUS_PR != '' || $CIRRUS_BRANCH =~ '.*-ci$' || $CIRRUS_BRANCH =~ '.*-cic$'
# No auto-cancel on integration
auto_cancellation: $CIRRUS_BRANCH != 'integration'
# FreeBSD 13
# ----------------------------------------------------------------------------------------------------------------------------------
freebsd_13_task:
freebsd_instance:
image_family: freebsd-13-5
cpu: 4
memory: 4G
install_script: pkg update && pkg upgrade -y libiconv && pkg install -y bash git postgresql-libpqxx pkgconf libxml2 gmake perl5 libyaml p5-YAML-LibYAML rsync meson
script:
- rsync --version
- cd .. && perl ${CIRRUS_WORKING_DIR}/test/test.pl --make-cmd=gmake --vm-max=2 --no-coverage --no-valgrind --module=command --test=backup
debug_script:
- ls -lah ${CIRRUS_WORKING_DIR}
# FreeBSD 14
# ----------------------------------------------------------------------------------------------------------------------------------
freebsd_14_task:
freebsd_instance:
image_family: freebsd-14-2
cpu: 4
memory: 4G
install_script: pkg update && pkg upgrade -y libiconv && pkg install -y bash git postgresql-libpqxx pkgconf libxml2 gmake perl5 libyaml p5-YAML-LibYAML rsync meson
script:
- cd .. && perl ${CIRRUS_WORKING_DIR}/test/test.pl --make-cmd=gmake --vm-max=2 --no-coverage --no-valgrind --module=command --test=backup
debug_script:
- ls -lah ${CIRRUS_WORKING_DIR}
# MacOS Ventura
# ----------------------------------------------------------------------------------------------------------------------------------
macos_ventura_task:
osx_instance:
image: ghcr.io/cirruslabs/macos-runner:sonoma
environment:
LDFLAGS: -L/opt/homebrew/opt/openssl@3/lib -L/opt/homebrew/opt/libpq/lib -L/opt/homebrew/opt/libxml2/lib -L/opt/homebrew/opt/libyaml/lib
CPPFLAGS: -I/opt/homebrew/opt/openssl@3/include -I/opt/homebrew/opt/libpq/include -I/opt/homebrew/opt/libxml2/include/libxml2 -I/opt/homebrew/opt/libyaml/include
PERL5LIB: /opt/homebrew/opt/perl5/lib/perl5
PKG_CONFIG_PATH: /opt/homebrew/opt/libpq/lib/pkgconfig:/opt/homebrew/opt/openssl@3/lib/pkgconfig
install_script:
- brew install -q pkg-config openssl@3 libpq libxml2 libyaml meson
script:
- cd ..
- ${CIRRUS_WORKING_DIR}/test/test.pl --vm-max=2 --no-coverage --no-valgrind --module=command --test=backup --test=info
debug_script:
- ls -lah ${CIRRUS_WORKING_DIR}
- ls -lahR /opt/homebrew/opt