Run native Claude add-on build diagnostic

This commit is contained in:
Alexandre
2026-07-10 14:49:10 +02:00
parent 0303e93c48
commit 44f2c77daa

View File

@@ -20,28 +20,16 @@ jobs:
with:
path: ./claude_desktop/
- name: Set up QEMU
uses: docker/setup-qemu-action@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Inspect context and build aarch64
- name: Build amd64 and capture tail
shell: bash
run: |
set +e
{
echo '=== claude_desktop listing ==='
ls -la claude_desktop
echo '=== symlinks ==='
find claude_desktop -maxdepth 1 -type l -printf '%p -> %l\n'
echo '=== template candidates ==='
find .templates -maxdepth 1 -type f -printf '%f\n' | sort
} >context.txt 2>&1
BUILD_FROM="$(jq -r '.build_from.aarch64 // empty' '${{ steps.information.outputs.build }}')"
BUILD_FROM="$(jq -r '.build_from.amd64 // empty' '${{ steps.information.outputs.build }}')"
docker buildx build \
--platform linux/arm64 \
--platform linux/amd64 \
--progress=plain \
--build-arg "BUILD_FROM=${BUILD_FROM}" \
--file claude_desktop/Dockerfile \
@@ -54,9 +42,8 @@ jobs:
- name: Upload diagnostic log
uses: actions/upload-artifact@v4
with:
name: pr2841-aarch64-build-log
name: pr2841-amd64-build-log
path: |
context.txt
build-tail.log
build-status.txt
retention-days: 1