mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-08 22:22:29 +02:00
Run native Claude add-on build diagnostic
This commit is contained in:
21
.github/workflows/pr2841-diagnostic.yml
vendored
21
.github/workflows/pr2841-diagnostic.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user