name: sd-card-images prebuilt on: schedule: - cron: "00 12 * * 5" jobs: test-prebuilt: runs-on: ubuntu-latest name: test ${{ matrix.debian }} strategy: matrix: include: # Debian armhf - boot: boot-qemu_arm_virt debian: debian-bullseye-armhf debian_index: /index-debians-armhf.txt - boot: boot-qemu_arm_virt debian: debian-bookworm-armhf debian_index: /index-debians-armhf.txt - boot: boot-qemu_arm_virt debian: debian-sid-armhf debian_index: /index-debians-armhf.txt # Debian arm64 - boot: boot-qemu_aarch64_virt debian: debian-bullseye-arm64 debian_index: /index-debians-arm64.txt - boot: boot-qemu_aarch64_virt debian: debian-bookworm-arm64 debian_index: /index-debians-arm64.txt - boot: boot-qemu_aarch64_virt debian: debian-sid-arm64 debian_index: /index-debians-arm64.txt # Ubuntu arm64 - boot: boot-qemu_aarch64_virt debian: ubuntu-jammy-arm64 debian_index: /index-debians-arm64.txt - boot: boot-qemu_aarch64_virt debian: ubuntu-kinetic-arm64 debian_index: /index-debians-arm64.txt fail-fast: false env: BOOT: ${{ matrix.boot }} BOOT_INDEX: /index-boots.txt DEBIAN: ${{ matrix.debian }} DEBIAN_INDEX: ${{ matrix.debian_index }} steps: - name: Install dependencies timeout-minutes: 5 env: DEBIAN_FRONTEND: noninteractive run: | sudo apt-get update sudo apt-get --assume-yes \ --no-install-recommends \ install pigz \ qemu-system-x86 \ qemu-system-arm \ ssh \ sshpass \ wget - name: Checkout uses: actions/checkout@v2 - name: Download timeout-minutes: 1 env: CDN_BASE: https://cdn.sd-card-images.johang.se DL_BASE: https://dl.sd-card-images.johang.se run: | wget $DL_BASE$(wget -O - $CDN_BASE$BOOT_INDEX | grep $BOOT | sort | tail -n 1 || echo /404) wget $DL_BASE$(wget -O - $CDN_BASE$DEBIAN_INDEX | grep $DEBIAN | sort | tail -n 1 || echo /404) - name: Test timeout-minutes: 5 run: | ./test/qemu.sh $BOOT*.bin.gz $DEBIAN*.bin.gz