Skip to content

Commit

Permalink
Update blank.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sulincix authored May 10, 2024
1 parent e80c28e commit 95dd3b3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,23 @@ jobs:
mv ../*.deb /output/
mv ./*.deb /output/
- uses: actions/checkout@v2
- name: Run the build process with aarch64 rootfs
run: |
sudo apt update
sudo apt install qemu-user-static binfmt-support debootstrap wget unzip qemu-utils -y
sudo debootstrap --foreign --no-check-gpg --variant=minbase --arch=arm64 testing work/rootfs
sudo cp $(which qemu-aarch64-static) work/rootfs/usr/bin/qemu-aarch64-static
which service && sudo service binfmt-support start
echo "nameserver 1.1.1.1" | sudo tee work/rootfs/etc/resolv.conf
sudo chroot work/rootfs /usr/bin/qemu-aarch64-static /bin/bash /debootstrap/debootstrap --second-stage
sudo chroot work/rootfs /usr/bin/qemu-aarch64-static apt install devscripts equivs -y
sudo git clone https://gitlab.com/turkman/devel/sources/ymp work/rootfs/ymp
sudo chroot work/rootfs /usr/bin/qemu-aarch64-static debuild -us -uc -b /ymp
sudo mkdir -p /output/
sudo mv work/rootfs/*.deb /output/
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
Expand Down

0 comments on commit 95dd3b3

Please sign in to comment.