From 4db4c36cb2474b8af1b6c97117b8ec8467115f98 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 15 Mar 2026 03:22:33 +0000 Subject: [PATCH] Add arm64 to .deb test matrix using GitHub's arm64 runners Tests both amd64 and arm64 .deb packages by downloading the matching architecture artifact and running the full install + verification flow on native runners. https://claude.ai/code/session_01Vx1EsNrNySgsc8Y67dGzCn --- .github/workflows/debian.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index 06aac13e..5139d9e2 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -66,7 +66,15 @@ jobs: test: needs: build - runs-on: ubuntu-24.04 + strategy: + fail-fast: false + matrix: + include: + - arch: amd64 + runner: ubuntu-24.04 + - arch: arm64 + runner: ubuntu-24.04-arm + runs-on: ${{ matrix.runner }} steps: - uses: actions/checkout@v4 @@ -82,10 +90,9 @@ jobs: enable-cache: true - name: Install build dependencies - uses: awalsh128/cache-apt-pkgs-action@v1.6.0 - with: - packages: build-essential python3-dev python3-setuptools libssl-dev libldap2-dev libsasl2-dev zlib1g-dev libatomic1 - version: 1.0 + run: | + sudo apt-get update -qq + sudo apt-get install -y build-essential python3-dev python3-setuptools libssl-dev libldap2-dev libsasl2-dev zlib1g-dev libatomic1 - name: Build local wheel run: | @@ -95,12 +102,11 @@ jobs: - name: Download .deb artifact uses: actions/download-artifact@v4 with: - pattern: archivebox-*-amd64.deb + pattern: archivebox-*-${{ matrix.arch }}.deb merge-multiple: true - name: Install system dependencies run: | - sudo apt-get update -qq sudo apt-get install -y python3.13 python3.13-venv python3-pip nodejs npm git wget curl ripgrep - name: Pre-seed virtualenv with local wheel before dpkg install