@@ -207,15 +207,14 @@ jobs:
207
207
name : ${{ matrix.type }}-build-release
208
208
runs-on : ubuntu-latest
209
209
container :
210
- image : ubuntu:13 .04
210
+ image : ubuntu:16 .04
211
211
strategy :
212
212
matrix :
213
- type : [apps, apps-x86]
213
+ type : [apps, apps-x86, apps-arm64 ]
214
214
fail-fast : false
215
215
steps :
216
216
- name : Install dependencies
217
217
run : |
218
- sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
219
218
apt-get -qq update
220
219
apt-get install -y make build-essential m4 pkg-config autoconf libtool git libcurl4-openssl-dev p7zip-full python3
221
220
@@ -224,13 +223,19 @@ jobs:
224
223
run : |
225
224
apt-get install -y libcurl4-openssl-dev
226
225
227
- - uses : actions/checkout@v1 # ignore-check
226
+ - name : Install dependencies for arm64
227
+ if : success() && matrix.type == 'apps-arm64'
228
+ run : |
229
+ apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu wget ca-certificates
230
+
231
+ - uses : actions/checkout@v3 # ignore-check
228
232
with :
229
233
fetch-depth : 2
230
234
231
- - name : Remove pkg-config dependency
232
- run : |
233
- git apply remove-pkg-config.patch
235
+ # - name: Remove pkg-config dependency
236
+ # if: success() && matrix.type != 'apps-arm64'
237
+ # run: |
238
+ # git apply remove-pkg-config.patch
234
239
235
240
- name : Automake
236
241
if : success()
@@ -263,58 +268,8 @@ jobs:
263
268
./configure --enable-apps --enable-apps-vbox --disable-server --disable-client --disable-manager --host=i686-linux-gnu
264
269
make -j $(nproc --all)
265
270
266
- - name : Prepare logs on failure
267
- if : ${{ failure() }}
268
- run : python3 ./deploy/prepare_deployment.py logs
269
-
270
- - name : Upload logs on failure
271
- if : ${{ failure() }}
272
- uses : actions/upload-artifact@v1 # ignore-check
273
- with :
274
- name : linux_release_logs_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
275
- path : deploy/logs.7z
276
-
277
- - name : Prepare artifacts for deploy
278
- if : success()
279
- run : python3 ./deploy/prepare_deployment.py linux_apps
280
-
281
- - name : Upload wrapper artifacts
282
- uses : actions/upload-artifact@v1 # ignore-check
283
- if : success()
284
- with :
285
- name : linux_release_${{ matrix.type }}_${{ github.event.pull_request.head.sha }}
286
- path : deploy/linux_apps.7z
287
-
288
- build-release-arm64 :
289
- name : ${{ matrix.type }}-build-release
290
- runs-on : ubuntu-latest
291
- container :
292
- image : ubuntu:16.04
293
- strategy :
294
- matrix :
295
- type : [apps-arm64]
296
- fail-fast : false
297
- steps :
298
- - name : Install dependencies
299
- run : |
300
- apt-get -qq update
301
- apt-get install -y make build-essential m4 pkg-config autoconf libtool git
302
-
303
- - name : Install dependencies for arm64
304
- if : success()
305
- run : |
306
- apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu binutils-aarch64-linux-gnu wget ca-certificates p7zip-full python3
307
-
308
- - uses : actions/checkout@v3 # ignore-check
309
- with :
310
- fetch-depth : 2
311
-
312
- - name : Automake
313
- if : success()
314
- run : ./_autosetup
315
-
316
- - name : Build apps for arm64
317
- if : success()
271
+ - name : Make arm64 apps
272
+ if : success() && matrix.type == 'apps-arm64'
318
273
run : |
319
274
export CI=yes
320
275
export RELEASE=yes
0 commit comments