1name: ci
2
3on:
4 pull_request:
5 push:
6 branches:
7 - master
8 workflow_dispatch:
9
10# This cancels older workflow runs on pull requests while ensuring that there
11# are no concurrency limits on pushes and manual workflow dispatches.
12concurrency:
13 group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
14 cancel-in-progress: ${{ github.event_name == 'pull_request' }}
15
16jobs:
17 # aarch64-freebsd-debug:
18 # runs-on: [self-hosted, aarch64-freebsd]
19 # steps:
20 # - name: Checkout
21 # uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
22 # with:
23 # fetch-depth: 0
24 # - name: Build and Test
25 # run: sh ci/aarch64-freebsd-debug.sh
26 # timeout-minutes: 240
27 # aarch64-freebsd-release:
28 # runs-on: [self-hosted, aarch64-freebsd]
29 # steps:
30 # - name: Checkout
31 # uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
32 # with:
33 # fetch-depth: 0
34 # - name: Build and Test
35 # run: sh ci/aarch64-freebsd-release.sh
36 # timeout-minutes: 180
37
38 aarch64-linux-debug:
39 runs-on: [self-hosted, aarch64-linux]
40 steps:
41 - name: Checkout
42 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
43 with:
44 fetch-depth: 0
45 - name: Build and Test
46 run: sh ci/aarch64-linux-debug.sh
47 timeout-minutes: 240
48 aarch64-linux-release:
49 runs-on: [self-hosted, aarch64-linux]
50 steps:
51 - name: Checkout
52 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
53 with:
54 fetch-depth: 0
55 - name: Build and Test
56 run: sh ci/aarch64-linux-release.sh
57 timeout-minutes: 180
58
59 # aarch64-netbsd-debug:
60 # runs-on: [self-hosted, aarch64-netbsd]
61 # steps:
62 # - name: Checkout
63 # uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
64 # with:
65 # fetch-depth: 0
66 # - name: Build and Test
67 # run: sh ci/aarch64-netbsd-debug.sh
68 # timeout-minutes: 240
69 # aarch64-netbsd-release:
70 # runs-on: [self-hosted, aarch64-netbsd]
71 # steps:
72 # - name: Checkout
73 # uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
74 # with:
75 # fetch-depth: 0
76 # - name: Build and Test
77 # run: sh ci/aarch64-netbsd-release.sh
78 # timeout-minutes: 180
79
80 aarch64-macos-debug:
81 runs-on: [self-hosted, aarch64-macos]
82 steps:
83 - name: Checkout
84 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
85 with:
86 fetch-depth: 0
87 - name: Build and Test
88 run: sh ci/aarch64-macos-debug.sh
89 timeout-minutes: 240
90 aarch64-macos-release:
91 runs-on: [self-hosted, aarch64-macos]
92 steps:
93 - name: Checkout
94 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
95 with:
96 fetch-depth: 0
97 - name: Build and Test
98 run: sh ci/aarch64-macos-release.sh
99 timeout-minutes: 180
100
101 loongarch64-linux-debug:
102 runs-on: [self-hosted, loongarch64-linux]
103 steps:
104 - name: Checkout
105 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
106 with:
107 fetch-depth: 0
108 - name: Build and Test
109 run: sh ci/loongarch64-linux-debug.sh
110 timeout-minutes: 300
111 loongarch64-linux-release:
112 runs-on: [self-hosted, loongarch64-linux]
113 steps:
114 - name: Checkout
115 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
116 with:
117 fetch-depth: 0
118 - name: Build and Test
119 run: sh ci/loongarch64-linux-release.sh
120 timeout-minutes: 180
121
122 powerpc64le-linux-debug:
123 runs-on: [self-hosted, powerpc64le-linux]
124 steps:
125 - name: Checkout
126 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
127 with:
128 fetch-depth: 0
129 - name: Build and Test
130 run: sh ci/powerpc64le-linux-debug.sh
131 timeout-minutes: 420
132 powerpc64le-linux-release:
133 runs-on: [self-hosted, powerpc64le-linux]
134 steps:
135 - name: Checkout
136 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
137 with:
138 fetch-depth: 0
139 - name: Build and Test
140 run: sh ci/powerpc64le-linux-release.sh
141 timeout-minutes: 240
142
143 s390x-linux-debug:
144 runs-on: [self-hosted, s390x-linux]
145 steps:
146 - name: Checkout
147 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
148 with:
149 fetch-depth: 0
150 - name: Build and Test
151 run: sh ci/s390x-linux-debug.sh
152 timeout-minutes: 480
153 s390x-linux-release:
154 runs-on: [self-hosted, s390x-linux]
155 steps:
156 - name: Checkout
157 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
158 with:
159 fetch-depth: 0
160 - name: Build and Test
161 run: sh ci/s390x-linux-release.sh
162 timeout-minutes: 300
163
164 x86_64-freebsd-debug:
165 runs-on: [self-hosted, x86_64-freebsd]
166 steps:
167 - name: Checkout
168 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
169 with:
170 fetch-depth: 0
171 - name: Build and Test
172 run: sh ci/x86_64-freebsd-debug.sh
173 timeout-minutes: 120
174 x86_64-freebsd-release:
175 runs-on: [self-hosted, x86_64-freebsd]
176 steps:
177 - name: Checkout
178 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
179 with:
180 fetch-depth: 0
181 - name: Build and Test
182 run: sh ci/x86_64-freebsd-release.sh
183 timeout-minutes: 120
184
185 x86_64-linux-debug:
186 runs-on: [self-hosted, x86_64-linux]
187 steps:
188 - name: Checkout
189 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
190 with:
191 fetch-depth: 0
192 - name: Build and Test
193 run: sh ci/x86_64-linux-debug.sh
194 timeout-minutes: 180
195 x86_64-linux-debug-llvm:
196 runs-on: [self-hosted, x86_64-linux]
197 steps:
198 - name: Checkout
199 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
200 with:
201 fetch-depth: 0
202 - name: Build and Test
203 run: sh ci/x86_64-linux-debug-llvm.sh
204 timeout-minutes: 420
205 x86_64-linux-release:
206 runs-on: [self-hosted, x86_64-linux]
207 steps:
208 - name: Checkout
209 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
210 with:
211 fetch-depth: 0
212 - name: Build and Test
213 run: sh ci/x86_64-linux-release.sh
214 timeout-minutes: 420
215
216 x86_64-netbsd-debug:
217 runs-on: [self-hosted, x86_64-netbsd]
218 steps:
219 - name: Checkout
220 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
221 with:
222 fetch-depth: 0
223 - name: Build and Test
224 run: sh ci/x86_64-netbsd-debug.sh
225 timeout-minutes: 120
226 x86_64-netbsd-release:
227 runs-on: [self-hosted, x86_64-netbsd]
228 steps:
229 - name: Checkout
230 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
231 with:
232 fetch-depth: 0
233 - name: Build and Test
234 run: sh ci/x86_64-netbsd-release.sh
235 timeout-minutes: 120
236
237 x86_64-openbsd-debug:
238 runs-on: [self-hosted, x86_64-openbsd]
239 steps:
240 - name: Checkout
241 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
242 with:
243 fetch-depth: 0
244 - name: Build and Test
245 run: sh ci/x86_64-openbsd-debug.sh
246 timeout-minutes: 120
247 x86_64-openbsd-release:
248 runs-on: [self-hosted, x86_64-openbsd]
249 steps:
250 - name: Checkout
251 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
252 with:
253 fetch-depth: 0
254 - name: Build and Test
255 run: sh ci/x86_64-openbsd-release.sh
256 timeout-minutes: 120
257
258 x86_64-windows-debug:
259 runs-on: [self-hosted, x86_64-windows]
260 steps:
261 - name: Checkout
262 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
263 with:
264 fetch-depth: 0
265 - name: Build and Test
266 run: ci/x86_64-windows-debug.ps1
267 timeout-minutes: 180
268 x86_64-windows-release:
269 runs-on: [self-hosted, x86_64-windows]
270 steps:
271 - name: Checkout
272 uses: https://codeberg.org/ziglang/checkout@19af6bac491e2534a4687a50ee84fa7f13258d28
273 with:
274 fetch-depth: 0
275 - name: Build and Test
276 run: ci/x86_64-windows-release.ps1
277 timeout-minutes: 180