mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-08-13 08:32:31 +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:
|
with:
|
||||||
path: ./claude_desktop/
|
path: ./claude_desktop/
|
||||||
|
|
||||||
- name: Set up QEMU
|
|
||||||
uses: docker/setup-qemu-action@v4
|
|
||||||
|
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
uses: docker/setup-buildx-action@v4
|
uses: docker/setup-buildx-action@v4
|
||||||
|
|
||||||
- name: Inspect context and build aarch64
|
- name: Build amd64 and capture tail
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set +e
|
set +e
|
||||||
{
|
BUILD_FROM="$(jq -r '.build_from.amd64 // empty' '${{ steps.information.outputs.build }}')"
|
||||||
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 }}')"
|
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--platform linux/arm64 \
|
--platform linux/amd64 \
|
||||||
--progress=plain \
|
--progress=plain \
|
||||||
--build-arg "BUILD_FROM=${BUILD_FROM}" \
|
--build-arg "BUILD_FROM=${BUILD_FROM}" \
|
||||||
--file claude_desktop/Dockerfile \
|
--file claude_desktop/Dockerfile \
|
||||||
@@ -54,9 +42,8 @@ jobs:
|
|||||||
- name: Upload diagnostic log
|
- name: Upload diagnostic log
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: pr2841-aarch64-build-log
|
name: pr2841-amd64-build-log
|
||||||
path: |
|
path: |
|
||||||
context.txt
|
|
||||||
build-tail.log
|
build-tail.log
|
||||||
build-status.txt
|
build-status.txt
|
||||||
retention-days: 1
|
retention-days: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user