This commit is contained in:
Quine Global 2026-01-04 04:38:11 -05:00
parent f514affde9
commit 9969564468
2 changed files with 31 additions and 7 deletions

View file

@ -97,11 +97,23 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up QEMU - name: Set up QEMU and binfmt
run: | run: |
# Install qemu-user-static
sudo apt-get update sudo apt-get update
sudo apt-get install -y qemu-user-static binfmt-support sudo apt-get install -y qemu-user-static
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# Download and install binfmt configurations
wget https://github.com/qemu/qemu/raw/master/scripts/qemu-binfmt-conf.sh
chmod +x qemu-binfmt-conf.sh
sudo ./qemu-binfmt-conf.sh --qemu-path /usr/bin --qemu-suffix -static --debian
# Import the binfmt configurations
sudo update-binfmts --import qemu-arm
sudo update-binfmts --import qemu-aarch64
# Verify they exist
ls -la /proc/sys/fs/binfmt_misc/qemu-arm* || true
- name: Build ARMv7l - name: Build ARMv7l
uses: ./.github/actions/build-linux-arm uses: ./.github/actions/build-linux-arm

View file

@ -84,11 +84,23 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Set up QEMU - name: Set up QEMU and binfmt
run: | run: |
# Install qemu-user-static
sudo apt-get update sudo apt-get update
sudo apt-get install -y qemu-user-static binfmt-support sudo apt-get install -y qemu-user-static
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
# Download and install binfmt configurations
wget https://github.com/qemu/qemu/raw/master/scripts/qemu-binfmt-conf.sh
chmod +x qemu-binfmt-conf.sh
sudo ./qemu-binfmt-conf.sh --qemu-path /usr/bin --qemu-suffix -static --debian
# Import the binfmt configurations
sudo update-binfmts --import qemu-arm
sudo update-binfmts --import qemu-aarch64
# Verify they exist
ls -la /proc/sys/fs/binfmt_misc/qemu-arm* || true
- name: Build ARMv7l - name: Build ARMv7l
uses: ./.github/actions/build-linux-arm uses: ./.github/actions/build-linux-arm
@ -140,7 +152,7 @@ jobs:
- name: List downloaded artifacts - name: List downloaded artifacts
run: ls -R ./artifacts run: ls -R ./artifacts
- name: Ensure non-empty artifacts - name: Ensure non-empty artifacts
run: | run: |
echo "Checking for zero-byte files in artifacts/..." echo "Checking for zero-byte files in artifacts/..."