Skip to content

Commit

Permalink
CI ARM: build with RPi OS also for 64b
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPulec committed Sep 22, 2023
1 parent daa70f7 commit 5e875c9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/arm-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,8 @@ jobs:
arch: [armhf, arm64]
include:
- arch: armhf
repo: http://mirrordirector.raspbian.org/raspbian/
keyring: /etc/apt/trusted.gpg
qemu_bin_arch: arm
- arch: arm64
repo: https://deb.debian.org/debian
keyring: /usr/share/keyrings/debian-archive-keyring.gpg
qemu_bin_arch: aarch64

steps:
Expand Down Expand Up @@ -60,7 +56,7 @@ jobs:
sudo mkdir -p ~/chroot/var/tmp
sudo mv /var/tmp/*NDI* ~/chroot/var/tmp
wget http://archive.raspbian.org/raspbian.public.key -O - | sudo apt-key add -q
sudo qemu-debootstrap --keyring=${{ matrix.keyring }} --arch ${{ matrix.arch }} bullseye ~/chroot ${{ matrix.repo }}
sudo debootstrap --keyring=/etc/apt/trusted.gpg --arch ${{ matrix.arch }} bullseye ~/chroot http://raspbian.raspberrypi.org/raspbian/
sudo cp -r $GITHUB_WORKSPACE/.github ~/chroot
sudo cp /usr/bin/qemu-${{ matrix.qemu_bin_arch }}-static ~/chroot/usr/bin
sudo chroot ~/chroot /.github/scripts/Linux/arm/bootstrap.sh ${{ matrix.arch }}
Expand Down

0 comments on commit 5e875c9

Please sign in to comment.