Skip to content

Commit

Permalink
tests: disable buildroot build cache for now
Browse files Browse the repository at this point in the history
  • Loading branch information
choppsv1 committed Mar 10, 2024
1 parent 8288d45 commit 9543425
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,14 @@ jobs:
sudo apt-get update -y
sudo apt-get install -y device-tree-compiler libelf-dev
- name: Buildroot Build Cache
id: buildroot-cache
uses: actions/cache@v4
with:
path: output-buildroot.tar.gz
key: ${{ runner.os }}-br-${{ hashFiles('buildroot.config', 'output-buildroot.tar.gz', 'root-key', 'root-key.pub') }}
restore-keys: |
key: ${{ runner.os }}-br-
# - name: Buildroot Build Cache
# id: buildroot-cache
# uses: actions/cache@v4
# with:
# path: output-buildroot.tar.gz
# key: ${{ runner.os }}-br-${{ hashFiles('buildroot.config', 'output-buildroot.tar.gz', 'root-key', 'root-key.pub') }}
# restore-keys: |
# key: ${{ runner.os }}-br-

- name: Build Rootfs
timeout-minutes: 540
Expand Down Expand Up @@ -213,14 +213,14 @@ jobs:
retention-days: 30
if-no-files-found: error

- name: Collect cache contents
timeout-minutes: 120
run: |
# tar up the remaining files including .ccache
echo "Collecting new cache contents: $(date)"
tar -czvf output-buildroot.tar.gz output-buildroot root-key root-key.pub || echo "error with tarball creation"
ls -hl output-buildroot.tar.gz || true
echo "Done collecting new cache contents: $(date)"
# - name: Collect cache contents
# timeout-minutes: 120
# run: |
# # tar up the remaining files including .ccache
# echo "Collecting new cache contents: $(date)"
# tar -czvf output-buildroot.tar.gz output-buildroot root-key root-key.pub || echo "error with tarball creation"
# ls -hl output-buildroot.tar.gz || true
# echo "Done collecting new cache contents: $(date)"

- name: Archive buildroot rootfs.cpio.gz
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 9543425

Please sign in to comment.