Skip to content

Commit

Permalink
Remove cache as builroot is too big for git
Browse files Browse the repository at this point in the history
  • Loading branch information
F5OEO committed Nov 7, 2024
1 parent 342bffc commit 38d90ee
Showing 1 changed file with 2 additions and 21 deletions.
23 changes: 2 additions & 21 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,8 @@ jobs:
libgtk-3-0 xz-utils libgmp-dev libmpc-dev bootgen-xlnx
- name: Cache toolchain
id: cache-toolchain
uses: actions/cache@v4
with:
path: /${{runner.workspace}}/build/buildroot-2024.08
key: fw-cache-toolchain

- if: ${{ steps.cache-toolchain.outputs.cache-hit != 'true' }}
name: Build Tezuka first build
- name: Build Tezuka
run: |
source sourceme.first
mkdir ${{runner.workspace}}/build && cd ${{runner.workspace}}/build
Expand All @@ -63,18 +56,6 @@ jobs:
make plutoplus_maiasdr_defconfig && make && mv ${{runner.workspace}}/build/buildroot-2024.08/output/images/tezuka.zip ${{runner.workspace}}/build/plutoplus_maiasdr.zip
# make clean
# make pluto_maiasdr_defconfig && make && mv /home/runner/work/tezuka_fw/tezuka_fw/buildroot-2024.08/output/images/tezuka.zip /home/runner/work/tezuka_fw/pluto_maiasdr.zip
- if: ${{ steps.cache-toolchain.outputs.cache-hit == 'true' }}
name: Build Tezuka from cache
run: |
source sourceme.first
mkdir ${{runner.workspace}}/build && cd ${{runner.workspace}}/build
# wget https://buildroot.org/downloads/buildroot-2024.08.tar.gz && tar -xvf buildroot-2024.08.tar.gz
cd ${{runner.workspace}}/build/buildroot-2024.08
make plutoplus_maiasdr_defconfig && make && mv ${{runner.workspace}}/build/buildroot-2024.08/output/images/tezuka.zip ${{runner.workspace}}/build/plutoplus_maiasdr.zip
# make clean
# make pluto_maiasdr_defconfig && make && mv /home/runner/work/tezuka_fw/tezuka_fw/buildroot-2024.08/output/images/tezuka.zip /home/runner/work/tezuka_fw/pluto_maiasdr.zip
- name: Save zip Archive
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 38d90ee

Please sign in to comment.