Skip to content

Commit 993bf91

Browse files
add aarch64 builds for all other debian-based distros and copy all aarch64 builds to nightly release
1 parent d9ff7ea commit 993bf91

File tree

1 file changed

+194
-10
lines changed

1 file changed

+194
-10
lines changed

.github/workflows/build_all.yml

+194-10
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ jobs:
211211
name: sdrpp_macos_arm
212212
path: ${{runner.workspace}}/sdrpp_macos_arm.zip
213213

214-
build_debian_buster:
214+
build_debian_buster_amd64:
215215
runs-on: ubuntu-latest
216216

217217
steps:
@@ -233,7 +233,29 @@ jobs:
233233
name: sdrpp_debian_buster_amd64
234234
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
235235

236-
build_debian_bullseye:
236+
build_debian_buster_aarch64:
237+
runs-on: ubuntu-24.04-arm
238+
239+
steps:
240+
- uses: actions/checkout@v4
241+
242+
- name: Create Docker Image
243+
run: cd $GITHUB_WORKSPACE/docker_builds/debian_buster && docker build . --tag sdrpp_build
244+
245+
- name: Run Container
246+
run: docker run --name build -v $GITHUB_WORKSPACE:/root/SDRPlusPlus --env BUILD_NO="-$GITHUB_RUN_NUMBER" sdrpp_build /root/do_build.sh
247+
248+
- name: Recover Deb Archive
249+
working-directory: ${{runner.workspace}}
250+
run: docker cp build:/root/SDRPlusPlus/sdrpp_debian_amd64.deb ./
251+
252+
- name: Save Deb Archive
253+
uses: actions/upload-artifact@v4
254+
with:
255+
name: sdrpp_debian_buster_aarch64
256+
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
257+
258+
build_debian_bullseye_amd64:
237259
runs-on: ubuntu-latest
238260

239261
steps:
@@ -255,7 +277,29 @@ jobs:
255277
name: sdrpp_debian_bullseye_amd64
256278
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
257279

258-
build_debian_bookworm:
280+
build_debian_bullseye_aarch64:
281+
runs-on: ubuntu-24.04-arm
282+
283+
steps:
284+
- uses: actions/checkout@v4
285+
286+
- name: Create Docker Image
287+
run: cd $GITHUB_WORKSPACE/docker_builds/debian_bullseye && docker build . --tag sdrpp_build
288+
289+
- name: Run Container
290+
run: docker run --name build -v $GITHUB_WORKSPACE:/root/SDRPlusPlus --env BUILD_NO="-$GITHUB_RUN_NUMBER" sdrpp_build /root/do_build.sh
291+
292+
- name: Recover Deb Archive
293+
working-directory: ${{runner.workspace}}
294+
run: docker cp build:/root/SDRPlusPlus/sdrpp_debian_amd64.deb ./
295+
296+
- name: Save Deb Archive
297+
uses: actions/upload-artifact@v4
298+
with:
299+
name: sdrpp_debian_bullseye_aarch64
300+
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
301+
302+
build_debian_bookworm_amd64:
259303
runs-on: ubuntu-latest
260304

261305
steps:
@@ -299,7 +343,7 @@ jobs:
299343
name: sdrpp_debian_bookworm_aarch64
300344
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
301345

302-
build_debian_sid:
346+
build_debian_sid_amd64:
303347
runs-on: ubuntu-latest
304348

305349
steps:
@@ -321,7 +365,29 @@ jobs:
321365
name: sdrpp_debian_sid_amd64
322366
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
323367

324-
build_ubuntu_focal:
368+
build_debian_sid_aarch64:
369+
runs-on: ubuntu-24.04-arm
370+
371+
steps:
372+
- uses: actions/checkout@v4
373+
374+
- name: Create Docker Image
375+
run: cd $GITHUB_WORKSPACE/docker_builds/debian_sid && docker build . --tag sdrpp_build
376+
377+
- name: Run Container
378+
run: docker run --name build -v $GITHUB_WORKSPACE:/root/SDRPlusPlus --env BUILD_NO="-$GITHUB_RUN_NUMBER" sdrpp_build /root/do_build.sh
379+
380+
- name: Recover Deb Archive
381+
working-directory: ${{runner.workspace}}
382+
run: docker cp build:/root/SDRPlusPlus/sdrpp_debian_amd64.deb ./
383+
384+
- name: Save Deb Archive
385+
uses: actions/upload-artifact@v4
386+
with:
387+
name: sdrpp_debian_sid_aarch64
388+
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
389+
390+
build_ubuntu_focal_amd64:
325391
runs-on: ubuntu-latest
326392

327393
steps:
@@ -343,7 +409,29 @@ jobs:
343409
name: sdrpp_ubuntu_focal_amd64
344410
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
345411

346-
build_ubuntu_jammy:
412+
build_ubuntu_focal_aarch64:
413+
runs-on: ubuntu-24.04-arm
414+
415+
steps:
416+
- uses: actions/checkout@v4
417+
418+
- name: Create Docker Image
419+
run: cd $GITHUB_WORKSPACE/docker_builds/ubuntu_focal && docker build . --tag sdrpp_build
420+
421+
- name: Run Container
422+
run: docker run --name build -v $GITHUB_WORKSPACE:/root/SDRPlusPlus --env BUILD_NO="-$GITHUB_RUN_NUMBER" sdrpp_build /root/do_build.sh
423+
424+
- name: Recover Deb Archive
425+
working-directory: ${{runner.workspace}}
426+
run: docker cp build:/root/SDRPlusPlus/sdrpp_debian_amd64.deb ./
427+
428+
- name: Save Deb Archive
429+
uses: actions/upload-artifact@v4
430+
with:
431+
name: sdrpp_ubuntu_focal_aarch64
432+
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
433+
434+
build_ubuntu_jammy_amd64:
347435
runs-on: ubuntu-latest
348436

349437
steps:
@@ -365,7 +453,29 @@ jobs:
365453
name: sdrpp_ubuntu_jammy_amd64
366454
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
367455

368-
build_ubuntu_noble:
456+
build_ubuntu_jammy_aarch64:
457+
runs-on: ubuntu-24.04-arm
458+
459+
steps:
460+
- uses: actions/checkout@v4
461+
462+
- name: Create Docker Image
463+
run: cd $GITHUB_WORKSPACE/docker_builds/ubuntu_jammy && docker build . --tag sdrpp_build
464+
465+
- name: Run Container
466+
run: docker run --name build -v $GITHUB_WORKSPACE:/root/SDRPlusPlus --env BUILD_NO="-$GITHUB_RUN_NUMBER" sdrpp_build /root/do_build.sh
467+
468+
- name: Recover Deb Archive
469+
working-directory: ${{runner.workspace}}
470+
run: docker cp build:/root/SDRPlusPlus/sdrpp_debian_amd64.deb ./
471+
472+
- name: Save Deb Archive
473+
uses: actions/upload-artifact@v4
474+
with:
475+
name: sdrpp_ubuntu_jammy_aarch64
476+
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
477+
478+
build_ubuntu_noble_amd64:
369479
runs-on: ubuntu-latest
370480

371481
steps:
@@ -387,7 +497,29 @@ jobs:
387497
name: sdrpp_ubuntu_noble_amd64
388498
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
389499

390-
build_ubuntu_oracular:
500+
build_ubuntu_noble_aarch64:
501+
runs-on: ubuntu-24.04-arm
502+
503+
steps:
504+
- uses: actions/checkout@v4
505+
506+
- name: Create Docker Image
507+
run: cd $GITHUB_WORKSPACE/docker_builds/ubuntu_noble && docker build . --tag sdrpp_build
508+
509+
- name: Run Container
510+
run: docker run --name build -v $GITHUB_WORKSPACE:/root/SDRPlusPlus --env BUILD_NO="-$GITHUB_RUN_NUMBER" sdrpp_build /root/do_build.sh
511+
512+
- name: Recover Deb Archive
513+
working-directory: ${{runner.workspace}}
514+
run: docker cp build:/root/SDRPlusPlus/sdrpp_debian_amd64.deb ./
515+
516+
- name: Save Deb Archive
517+
uses: actions/upload-artifact@v4
518+
with:
519+
name: sdrpp_ubuntu_noble_aarch64
520+
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
521+
522+
build_ubuntu_oracular_amd64:
391523
runs-on: ubuntu-latest
392524

393525
steps:
@@ -409,6 +541,28 @@ jobs:
409541
name: sdrpp_ubuntu_oracular_amd64
410542
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
411543

544+
build_ubuntu_oracular_aarch64:
545+
runs-on: ubuntu-24.04-arm
546+
547+
steps:
548+
- uses: actions/checkout@v4
549+
550+
- name: Create Docker Image
551+
run: cd $GITHUB_WORKSPACE/docker_builds/ubuntu_oracular && docker build . --tag sdrpp_build
552+
553+
- name: Run Container
554+
run: docker run --name build -v $GITHUB_WORKSPACE:/root/SDRPlusPlus --env BUILD_NO="-$GITHUB_RUN_NUMBER" sdrpp_build /root/do_build.sh
555+
556+
- name: Recover Deb Archive
557+
working-directory: ${{runner.workspace}}
558+
run: docker cp build:/root/SDRPlusPlus/sdrpp_debian_amd64.deb ./
559+
560+
- name: Save Deb Archive
561+
uses: actions/upload-artifact@v4
562+
with:
563+
name: sdrpp_ubuntu_oracular_aarch64
564+
path: ${{runner.workspace}}/sdrpp_debian_amd64.deb
565+
412566
build_raspios_bullseye_armhf:
413567
runs-on: ARM
414568

@@ -464,7 +618,29 @@ jobs:
464618
path: ${{runner.workspace}}/sdrpp.apk
465619

466620
create_full_archive:
467-
needs: ['build_windows', 'build_macos_intel', 'build_macos_arm', 'build_debian_buster', 'build_debian_bullseye', 'build_debian_bookworm', 'build_debian_sid', 'build_ubuntu_focal', 'build_ubuntu_jammy', 'build_ubuntu_noble', 'build_ubuntu_oracular', 'build_raspios_bullseye_armhf', 'build_android']
621+
needs: [
622+
'build_windows',
623+
'build_macos_intel',
624+
'build_macos_arm',
625+
'build_debian_buster_amd64',
626+
'build_debian_buster_aarch64',
627+
'build_debian_bullseye_amd64',
628+
'build_debian_bullseye_aarch64',
629+
'build_debian_bookworm_amd64',
630+
'build_debian_bookworm_aarch64',
631+
'build_debian_sid_amd64',
632+
'build_debian_sid_aarch64',
633+
'build_ubuntu_focal_amd64',
634+
'build_ubuntu_focal_aarch64',
635+
'build_ubuntu_jammy_amd64',
636+
'build_ubuntu_jammy_aarch64',
637+
'build_ubuntu_noble_amd64',
638+
'build_ubuntu_noble_aarch64',
639+
'build_ubuntu_oracular_amd64',
640+
'build_ubuntu_oracular_aarch64',
641+
'build_raspios_bullseye_armhf',
642+
'build_android'
643+
]
468644
runs-on: ubuntu-latest
469645

470646
steps:
@@ -478,13 +654,21 @@ jobs:
478654
mv sdrpp_macos_intel/sdrpp_macos_intel.zip sdrpp_all/ &&
479655
mv sdrpp_macos_arm/sdrpp_macos_arm.zip sdrpp_all/ &&
480656
mv sdrpp_debian_buster_amd64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_debian_buster_amd64.deb &&
481-
mv sdrpp_debian_bullseye_amd64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_debian_bullseye_amd64.deb &&
657+
mv sdrpp_debian_buster_aarch64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_debian_buster_aarch64.deb &&
658+
mv sdrpp_debian_bullseye_amd64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_debian_bullseye_amd64.deb &&
659+
mv sdrpp_debian_bullseye_aarch64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_debian_bullseye_aarch64.deb &&
482660
mv sdrpp_debian_bookworm_amd64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_debian_bookworm_amd64.deb &&
661+
mv sdrpp_debian_bookworm_aarch64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_debian_bookworm_aarch64.deb &&
483662
mv sdrpp_debian_sid_amd64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_debian_sid_amd64.deb &&
663+
mv sdrpp_debian_sid_aarch64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_debian_sid_aarch64.deb &&
484664
mv sdrpp_ubuntu_focal_amd64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_ubuntu_focal_amd64.deb &&
665+
mv sdrpp_ubuntu_focal_aarch64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_ubuntu_focal_aarch64.deb &&
485666
mv sdrpp_ubuntu_jammy_amd64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_ubuntu_jammy_amd64.deb &&
667+
mv sdrpp_ubuntu_jammy_aarch64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_ubuntu_jammy_aarch64.deb &&
486668
mv sdrpp_ubuntu_noble_amd64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_ubuntu_noble_amd64.deb &&
669+
mv sdrpp_ubuntu_noble_aarch64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_ubuntu_noble_aarch64.deb &&
487670
mv sdrpp_ubuntu_oracular_amd64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_ubuntu_oracular_amd64.deb &&
671+
mv sdrpp_ubuntu_oracular_aarch64/sdrpp_debian_amd64.deb sdrpp_all/sdrpp_ubuntu_oracular_aarch64.deb &&
488672
mv sdrpp_raspios_bullseye_armhf/sdrpp_debian_armhf.deb sdrpp_all/sdrpp_raspios_bullseye_armhf.deb &&
489673
mv sdrpp_android/sdrpp.apk sdrpp_all/sdrpp.apk
490674

0 commit comments

Comments
 (0)