Skip to content

Commit fdf250c

Browse files
committed
raspberry
1 parent bc173f7 commit fdf250c

File tree

1 file changed

+113
-2
lines changed

1 file changed

+113
-2
lines changed

.github/workflows/jsource.yml

Lines changed: 113 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ jobs:
429429
image_additional_mb: 1024
430430
copy_artifact_path: j64
431431
commands: |
432-
apt-get install --no-install-recommends -y clang zip libomp-dev
432+
apt-get install --no-install-recommends -y clang zip libomp-dev gdb
433433
export CC=clang
434434
export USE_SLEEF=1
435435
export USE_OPENMP=0
@@ -490,7 +490,7 @@ jobs:
490490
image_additional_mb: 1024
491491
copy_artifact_path: j32
492492
commands: |
493-
apt-get install --no-install-recommends -y clang zip libomp-dev
493+
apt-get install --no-install-recommends -y clang zip libomp-dev gdb
494494
export CC=gcc
495495
export USE_SLEEF=0
496496
export USE_SLEEFQUAD=1
@@ -535,6 +535,117 @@ jobs:
535535
path: testrpi32.txt
536536
overwrite: true
537537

538+
# rpi64 debug ----------------------------------------------------------
539+
jerpi64d:
540+
name: JE (Raspberry deubg)
541+
runs-on: ubuntu-latest
542+
steps:
543+
- name: Checkout Git repository
544+
uses: actions/checkout@v4
545+
546+
- name: Build, Test JE (Raspberry deubg)
547+
uses: pguyot/arm-runner-action@v2
548+
with:
549+
cpu: cortex-a53
550+
cpu_info: cpuinfo/raspberrypi_zero2_w_arm64
551+
base_image: raspios_lite_arm64:2023-05-03
552+
image_additional_mb: 1024
553+
copy_artifact_path: j64
554+
commands: |
555+
apt-get install --no-install-recommends -y clang zip libomp-dev gdb
556+
export CC=clang
557+
export USE_SLEEF=1
558+
export USE_OPENMP=0
559+
export _DEBUG=3
560+
script/buildga.sh raspberry || exit 1
561+
script/testga.sh raspberry || exit 1
562+
zip -r rpi64d.zip j64
563+
zip rpi64d.zip /usr/bin/zip
564+
zip rpi64d.zip /usr/bin/unzip
565+
rm -rf j64
566+
mkdir j64
567+
mv rpi64d.zip j64/.
568+
mv testrpi64d.txt j64/.
569+
find j64 -type d -exec chmod a+rwx {} \;
570+
find j64 -type f -exec chmod a+rw {} \;
571+
572+
- name: Compress Files (Raspberry deubg)
573+
run: |
574+
ls -l j64
575+
mv j64/* .
576+
577+
- name: Release JE (Raspberry deubg)
578+
uses: ncipollo/release-action@v1
579+
with:
580+
tag: build
581+
artifacts: "rpi64d.zip"
582+
token: ${{ secrets.GITHUB_TOKEN }}
583+
allowUpdates: true
584+
replacesArtifacts: true
585+
586+
- name: Copy Test (Raspberry deubg)
587+
uses: actions/upload-artifact@v4
588+
with:
589+
name: dist
590+
path: testrpi64d.txt
591+
overwrite: true
592+
593+
# rpi32 debug ----------------------------------------------------------
594+
jerpi32d:
595+
name: JE (Raspberry32 debug)
596+
runs-on: ubuntu-latest
597+
steps:
598+
- name: Checkout Git repository
599+
uses: actions/checkout@v4
600+
601+
- name: Build, Test JE (Raspberry 32)
602+
uses: pguyot/arm-runner-action@v2
603+
with:
604+
cpu: arm1176
605+
cpu_info: cpuinfo/raspberrypi_zero2_w
606+
base_image: raspios_lite:2023-05-03
607+
image_additional_mb: 1024
608+
copy_artifact_path: j32
609+
commands: |
610+
apt-get install --no-install-recommends -y clang zip libomp-dev gdb
611+
export CC=gcc
612+
export USE_SLEEF=0
613+
export USE_SLEEFQUAD=1
614+
export USE_OPENMP=0
615+
export _DEBUG=3
616+
script/buildga.sh raspberry || exit 1
617+
script/testga.sh raspberry || exit 1
618+
find j32 -type d -exec chmod a+rwx {} \;
619+
find j32 -type f -exec chmod a+rw {} \;
620+
zip -r rpi32d.zip j32
621+
rm -rf j32
622+
mkdir j32
623+
mv rpi32d.zip j32/.
624+
mv testrpi32d.txt j32/.
625+
find j32 -type d -exec chmod a+rwx {} \;
626+
find j32 -type f -exec chmod a+rw {} \;
627+
628+
- name: Compress Files (Raspberry32 debug)
629+
run: |
630+
ls -l j32
631+
mv j32/* .
632+
633+
- name: Release JE (Raspberry32 debug)
634+
uses: ncipollo/release-action@v1
635+
with:
636+
tag: build
637+
artifacts: "rpi32d.zip"
638+
token: ${{ secrets.GITHUB_TOKEN }}
639+
allowUpdates: true
640+
replacesArtifacts: true
641+
642+
- name: Copy Test (Raspberry)
643+
uses: actions/upload-artifact@v4
644+
with:
645+
name: dist
646+
path: testrpi32d.txt
647+
overwrite: true
648+
538649
# openbsd --------------------------------------------------------------
539650
jeopenbsd:
540651
name: JE (OpenBSD vmactions)

0 commit comments

Comments
 (0)