Skip to content

Commit

Permalink
Debug failing builds
Browse files Browse the repository at this point in the history
  • Loading branch information
dbast committed Jan 23, 2025
1 parent 1e9caa5 commit fbe5dde
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ jobs:
strategy:
fail-fast: false
matrix:
target: [ "pi0", "pi2", "pi02w", "pi4" ]
target: [ "pi0" ] #"pi2", "pi02w", "pi4" ]
steps:
- name: checkout seedsigner-os
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: "seedsigner/seedsigner-os"
# use the os-ref input parameter in case of workflow_dispatch or default to main in case of cron triggers
Expand All @@ -42,7 +42,7 @@ jobs:
fetch-depth: 0

- name: checkout source
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# ref defaults to repo default-branch=dev (cron) or SHA of event (workflow_dispatch)
path: "seedsigner-os/opt/rootfs-overlay/opt"
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
ls -la src
- name: restore build cache
uses: actions/cache@v3
uses: actions/cache@v4
# Caching reduces the build time to ~50% (currently: ~30 mins instead of ~1 hour,
# while consuming ~850 MB storage space).
with:
Expand All @@ -92,7 +92,7 @@ jobs:
- name: build
run: |
cd seedsigner-os/opt
./build.sh --${{ matrix.target }} --skip-repo --no-clean
bash -o pipefail -o errexit ./build.sh --${{ matrix.target }} --skip-repo --no-clean
- name: list image (before rename)
run: |
Expand All @@ -113,7 +113,7 @@ jobs:
ls -la seedsigner-os/images
- name: upload images
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: seedsigner_os_images
path: "seedsigner-os/images/*.img"
Expand All @@ -127,7 +127,7 @@ jobs:
needs: build
steps:
- name: download images
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: seedsigner_os_images
path: images
Expand All @@ -148,7 +148,7 @@ jobs:
sha256sum *.img > seedsigner_os.${{ env.source_hash }}.sha256
- name: upload checksums
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: seedsigner_os_images
path: "images/*.sha256"
Expand Down

0 comments on commit fbe5dde

Please sign in to comment.