@@ -127,122 +127,3 @@ jobs:
127
127
allowUpdates : true
128
128
token : ${{ secrets.GITHUB_TOKEN }}
129
129
130
- alpine-far2l-linux :
131
- needs : prejob
132
- if : ${{ needs.prejob.outputs.tool=='far2l' }}
133
- runs-on : ubuntu-latest
134
- container : alpine:3.12.9
135
-
136
- steps :
137
- - uses : actions/checkout@v2
138
-
139
- - name : build
140
- run : |
141
- apk add --no-cache bash
142
- ./far2l/build.sh
143
-
144
- - uses : actions/upload-artifact@v1
145
- with :
146
- name : far2l-linux-musl
147
- path : ./far2l/release/far2l_musl.tar.gz
148
-
149
- ubuntu-far2l-linux :
150
- needs : prejob
151
- if : ${{ needs.prejob.outputs.tool=='far2l' }}
152
- runs-on : ubuntu-latest
153
- container : ubuntu:18.04
154
-
155
- steps :
156
- - uses : actions/checkout@v2
157
-
158
- - name : build
159
- run : ./far2l_deb/build.sh
160
-
161
- - uses : actions/upload-artifact@v1
162
- with :
163
- name : far2l-linux-glibc
164
- path : ./far2l_deb/release/far2l_glibc.tar.gz
165
-
166
- alpine-far2l-test :
167
- needs : [alpine-far2l-linux, ubuntu-far2l-linux]
168
-
169
- runs-on : ubuntu-latest
170
- container : alpine:3.15.0
171
-
172
- steps :
173
- - uses : actions/download-artifact@v2
174
- with :
175
- name : far2l-linux-musl
176
- path : musl
177
-
178
- - uses : actions/download-artifact@v2
179
- with :
180
- name : far2l-linux-glibc
181
- path : glibc
182
-
183
- - name : Test musl build on Alpine
184
- run : |
185
- (cd musl && tar -xf ./far2l_musl.tar.gz)
186
- ldd ./musl/far2l
187
- ./musl/far2l --help | head -n2
188
-
189
- - name : Test glibc build on Alpine
190
- run : |
191
- wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
192
- wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.34-r0/glibc-2.34-r0.apk
193
- apk add glibc-2.34-r0.apk
194
- (cd glibc && tar -xf ./far2l_glibc.tar.gz)
195
- ldd ./glibc/far2l || true
196
- ./glibc/far2l --help | head -n2
197
-
198
- ubuntu-far2l-test :
199
- needs : [alpine-far2l-linux, ubuntu-far2l-linux]
200
-
201
- runs-on : ubuntu-latest
202
- container : ubuntu:20.04
203
-
204
- steps :
205
- - uses : actions/download-artifact@v2
206
- with :
207
- name : far2l-linux-musl
208
- path : musl
209
- - uses : actions/download-artifact@v2
210
- with :
211
- name : far2l-linux-glibc
212
- path : glibc
213
-
214
- - name : Test glibc build on Ubuntu
215
- run : |
216
- (cd glibc && tar -xf ./far2l_glibc.tar.gz)
217
- ldd ./glibc/far2l
218
- ./glibc/far2l --help | head -n2
219
-
220
- - name : Test musl build on Ubuntu
221
- run : |
222
- apt update
223
- apt -y install musl
224
- ln -s /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1
225
- (cd musl && tar -xf ./far2l_musl.tar.gz)
226
- ldd ./musl/far2l
227
- ./musl/far2l --help | head -n2
228
-
229
- far2l-release :
230
- needs : [alpine-far2l-test, ubuntu-far2l-test]
231
-
232
- runs-on : ubuntu-latest
233
- steps :
234
- - uses : actions/download-artifact@v2
235
- with :
236
- name : far2l-linux-musl
237
- path : .
238
- - uses : actions/download-artifact@v2
239
- with :
240
- name : far2l-linux-glibc
241
- path : .
242
- - uses : ncipollo/release-action@v1
243
- with :
244
- tag : ' far2l-2.4.0-beta'
245
- body : ' farl without plugins'
246
- artifacts : ' *.tar.gz'
247
- allowUpdates : true
248
- token : ${{ secrets.GITHUB_TOKEN }}
0 commit comments