Skip to content

Commit 1361b4e

Browse files
committed
fix(armbian-builds): Run armbian test on arm64 hardware (workaround for qemu bug)
1 parent c545974 commit 1361b4e

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

‎.github/workflows/build-sd-images.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122

123123
test:
124124
needs: build
125-
runs-on: ubuntu-20.04-arm64
125+
runs-on: ubuntu-26.04-arm64
126126
env:
127127
VERSION: "${{ inputs.git_ref }}"
128128
ARTIFACT_ID: ${{ needs.build.outputs.artifact_name }}
@@ -174,9 +174,9 @@ jobs:
174174
mount_raspbian "ncp.img"
175175
sudo cat raspbian_root/etc/machine-id
176176
sudo systemd-id128 new | sudo tee ./raspbian_root/etc/machine-id
177-
sudo wget -nv https://github.com/multiarch/qemu-user-static/releases/latest/download/qemu-aarch64-static -O raspbian_root/usr/bin/qemu-aarch64-static
178-
sudo wget -nv https://github.com/multiarch/qemu-user-static/releases/latest/download/qemu-arm-static -O raspbian_root/usr/bin/qemu-arm-static
179-
sudo chmod +x raspbian_root/usr/bin/qemu-{arm,aarch64}-static
177+
# sudo wget -nv https://github.com/multiarch/qemu-user-static/releases/latest/download/qemu-aarch64-static -O raspbian_root/usr/bin/qemu-aarch64-static
178+
# sudo wget -nv https://github.com/multiarch/qemu-user-static/releases/latest/download/qemu-arm-static -O raspbian_root/usr/bin/qemu-arm-static
179+
# sudo chmod +x raspbian_root/usr/bin/qemu-{arm,aarch64}-static
180180
echo 'Mutex posixsem' | sudo tee -a raspbian_root/etc/apache2/mods-available/ssl.conf
181181
echo 'ignore-warnings ARM64-COW-BUG' | sudo tee -a raspbian_root/etc/redis/redis.conf
182182
sudo mkdir -p raspbian_root/etc/systemd/system/redis-server.service.d
@@ -185,7 +185,7 @@ jobs:
185185
186186
sudo mkdir -p raspbian_root/etc/systemd/system/php${PHPVER}-fpm.service.d
187187
echo '[Service]' | sudo tee raspbian_root/etc/systemd/system/php${PHPVER}-fpm.service.d/ncp-ci.conf
188-
echo 'ExecStartPre=mkdir -p /var/run/php' | sudo tee -a raspbian_root/etc/systemd/system/php${PHPVER}-fpm.service.d/ncp-ci.conf
188+
echo 'ExecStartPre=mkdir -p /var/run/php' | sudo tee raspbian_root/etc/systemd/system/php${PHPVER}-fpm.service.d/ncp-ci.conf
189189
190190
# Disable ImportCredential and LoadCredential directives to workaround https://gitlab.com/qemu-project/qemu/-/work_items/1962
191191
# see https://github.com/systemd/systemd/issues/31219#issuecomment-2846006948

0 commit comments

Comments
 (0)