-
Notifications
You must be signed in to change notification settings - Fork 9
217 lines (180 loc) · 4.21 KB
/
Copy pathtest.yml
File metadata and controls
217 lines (180 loc) · 4.21 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
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
# Copyright (C) 2020-2021 The SymbiFlow Authors.
#
# Use of this source code is governed by a ISC-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/ISC
#
# SPDX-License-Identifier: ISC
name: 'test'
on:
push:
pull_request:
jobs:
test:
strategy:
fail-fast: false
max-parallel: 3
matrix:
os: [ ubuntu, windows, macos ]
runs-on: ${{ matrix.os }}-latest
defaults:
run:
shell: bash
steps:
- name: Configure git
shell: bash
run: |
git config --global core.autocrlf input
git config --global core.symlinks true
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Make env
run: |
cd test
make env
make env-info
- name: Make example-command
run: |
cd test
make example-command
- name: Make test-command
run: |
cd test
make test-command
# https://www.debian.org/releases/
# http://releases.ubuntu.com/
debian:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 3
matrix:
os:
- debian:buster # Debian 10 - old stable
- debian:bullseye # Debian 11 - stable
- debian:bookworm # Debian 12? - testing
- debian:sid # Debian - unstable
# Ubuntu Extended Security Maintenance (ESM)
- ubuntu:14.04 # Trusty Tahr
- ubuntu:16.04 # Xenial Xerus
# Ubuntu LTS Releases
- ubuntu:18.04 # Bionic Beaver
- ubuntu:20.04 # Focal Fossa
- ubuntu:22.04 # Jammy Jellyfish
# Ubuntu Interim Releases
- ubuntu:22.10 # Kinetic Kudu
container: ${{ matrix.os }}
steps:
- name: Install dependencies
run: |
apt update -qq
apt install -y make wget git
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Make env
run: |
cd test
make env
make env-info
- name: Make example-command
run: |
cd test
make example-command
- name: Make test-command
run: |
cd test
make test-command
# https://fedoraproject.org/wiki/Releases
fedora:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 3
matrix:
os:
- 36
- 37
- 38
- rawhide
container: fedora:${{ matrix.os }}
steps:
- name: Install dependencies
run: |
dnf update -y
dnf install -y make wget git which
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Make env
run: |
cd test
make env
make env-info
- name: Make example-command
run: |
cd test
make example-command
- name: Make test-command
run: |
cd test
make test-command
# https://en.wikipedia.org/wiki/CentOS#CentOS_releases
# https://www.centos.org/centos-stream/
centos:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 3
matrix:
os:
- 7
- stream8
- stream9
container: quay.io/centos/centos:${{ matrix.os }}
steps:
- name: Install dependencies
run: |
yum update -y
yum install -y make wget git which
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Make env
run: |
cd test
make env
make env-info
- name: Make example-command
run: |
cd test
make example-command
- name: Make test-command
run: |
cd test
make test-command
archlinux:
runs-on: ubuntu-latest
container: archlinux
steps:
- name: Install dependencies
run: |
pacman -Syu --noconfirm
pacman -S make wget git which --noconfirm
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Make env
run: |
cd test
make env
make env-info
- name: Make example-command
run: |
cd test
make example-command
- name: Make test-command
run: |
cd test
make test-command