-
Notifications
You must be signed in to change notification settings - Fork 7
/
.cirrus.yml
186 lines (161 loc) · 4.83 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
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
# Continuous integration tasks running on Cirrus CI.
#
env:
WXRUBY_TEST_EXCLUDE: 'test_intl:test_media_ctrl'
GITHUB_TOKEN: ENCRYPTED[2ce3914266dec78118dd9706c25d2e52fbd164f86713692efde9b8af5f0159099cb299934a8d6279e524da7a0790e025]
pr_1_task:
timeout_in: 90m
skip: "changesIncludeOnly('.yardopts', '.cirrus.yml', 'LICENSE','*.md','.github/**','lib/wx/doc/**','assets/**','lib/wx/version.rb', 'tools/**')"
only_if: $CIRRUS_PR != ''
matrix:
- name: Cirrus CI / Fedora ARM64 Test
arm_container:
image: fedora:latest
cpu: 4
memory: 8G
env:
osname: linux
distro: fedora
- name: Cirrus CI / OpenSuSE Leap AMD64 Test
container:
image: opensuse/leap:latest
cpu: 4
memory: 8G
env:
osname: linux
distro: opensuse
- name: Cirrus CI / ArchLinux AMD64 Test
container:
image: archlinux/archlinux:latest
cpu: 4
memory: 8G
env:
osname: linux
distro: arch
before_script: |
./tools/scripts/cirrus/setup-$distro.sh
# Show some information about the system.
uname -a
locale
locale -a
system_build_script: |
./tools/scripts/cirrus/setup-$distro-system-ruby.sh
./tools/scripts/cirrus/build-wxruby3.sh 2>&1 | tee -a build-wxruby3.log
system_test_script:
./tools/scripts/cirrus/test-wxruby3.sh
pr_2_task:
timeout_in: 90m
skip: "changesIncludeOnly('.yardopts', '.cirrus.yml', 'LICENSE','*.md','.github/**','lib/wx/doc/**','assets/**','lib/wx/version.rb', 'tools/**')"
only_if: $CIRRUS_PR != ''
matrix:
- name: Cirrus CI / Debian ARM64 Test
arm_container:
image: debian:latest
cpu: 4
memory: 8G
env:
osname: linux
distro: debian
- name: Cirrus CI / MacOSX Sonoma M1 Test
macos_instance:
image: ghcr.io/cirruslabs/macos-runner:sonoma
env:
osname: darwin
distro: macosx
before_script: |
./tools/scripts/cirrus/setup-$distro.sh
# Show some information about the system.
uname -a
locale
locale -a
latest_build_script: |
./tools/scripts/cirrus/setup-ruby-install-latest.sh
./tools/scripts/cirrus/build-wxruby3.sh --latest 2>&1 | tee -a build-wxruby3.log
latest_test_script:
./tools/scripts/cirrus/test-wxruby3.sh
verify_1_task:
timeout_in: 90m
skip: "changesIncludeOnly('.yardopts', '.cirrus.yml', 'LICENSE','*.md','.github/**','lib/wx/doc/**','assets/**','lib/wx/version.rb', 'tools/**')"
only_if: $CIRRUS_BRANCH =~ 'master' && $CIRRUS_BUILD_SOURCE != 'api'
matrix:
- name: Cirrus CI / Fedora AMD64 Test
container:
image: fedora:latest
cpu: 4
memory: 8G
env:
osname: linux
distro: fedora
- name: Cirrus CI / OpenSuSE Leap AMD64 Test
container:
image: opensuse/leap:latest
cpu: 4
memory: 8G
env:
osname: linux
distro: opensuse
- name: Cirrus CI / Ubuntu AMD64 Test
container:
image: ubuntu:latest
cpu: 4
memory: 8G
env:
osname: linux
distro: ubuntu
before_script: |
./tools/scripts/cirrus/setup-$distro.sh
# Show some information about the system.
uname -a
locale
locale -a
system_build_script: |
./tools/scripts/cirrus/setup-$distro-system-ruby.sh
./tools/scripts/cirrus/build-wxruby3.sh 2>&1 | tee -a build-wxruby3.log
system_test_script:
./tools/scripts/cirrus/test-wxruby3.sh
verify_2_task:
timeout_in: 90m
skip: "changesIncludeOnly('.yardopts', '.cirrus.yml', 'LICENSE','*.md','.github/**','lib/wx/doc/**','assets/**','lib/wx/version.rb', 'tools/**')"
only_if: $CIRRUS_BRANCH =~ 'master' && $CIRRUS_BUILD_SOURCE != 'api'
matrix:
- name: Cirrus CI / OpenSuSE Leap ARM64 Test
arm_container:
image: opensuse/leap:latest
cpu: 4
memory: 8G
env:
osname: linux
distro: opensuse
- name: Cirrus CI / Debian AMD64 Test
container:
image: debian:latest
cpu: 4
memory: 8G
env:
osname: linux
distro: debian
- name: Cirrus CI / MacOSX Sonoma M1 Test
macos_instance:
image: ghcr.io/cirruslabs/macos-runner:sonoma
env:
osname: darwin
distro: macosx
- name: Cirrus CI / ArchLinux AMD64 Test
container:
image: archlinux/archlinux:latest
cpu: 4
memory: 8G
env:
osname: linux
distro: arch
before_script: |
./tools/scripts/cirrus/setup-$distro.sh
# Show some information about the system.
uname -a
locale
locale -a
latest_build_script: |
./tools/scripts/cirrus/setup-ruby-install-latest.sh
./tools/scripts/cirrus/build-wxruby3.sh --latest 2>&1 | tee -a build-wxruby3.log
latest_test_script:
./tools/scripts/cirrus/test-wxruby3.sh