diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 479ed4b6..c20f3183 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -166,27 +166,28 @@ jobs: - name: Checkout source uses: actions/checkout@v4 + - name: Prepare ccache + run: | + echo CACHE_DATE=$(date +%m) >> ${GITHUB_ENV} + - name: Setup ccache if: github.event_name != 'pull_request' uses: actions/cache@v4 with: path: /tmp/ccache - key: ${{matrix.platform}}_${{matrix.release}} + key: ${{matrix.platform}}_${{matrix.release}}-${{env.CACHE_DATE}} - name: Restore ccache if: github.event_name == 'pull_request' uses: actions/cache/restore@v4 with: path: /tmp/ccache - key: ${{matrix.platform}}_${{matrix.release}} + key: ${{matrix.platform}}_${{matrix.release}}-${{env.CACHE_DATE}} - name: Download files run: | echo "8.8.8.8 invisible-mirror.net" | sudo tee -a /etc/hosts echo "8.8.8.8 distfiles.dereferenced.org" | sudo tee -a /etc/hosts - make prepare - git clone https://github.com/openipc/br-cache - ln -s ${GITHUB_WORKSPACE}/br-cache $(ls -d output/buildroot-*)/dl make BOARD=${{matrix.platform}}_${{matrix.release}} br-source - name: Build firmware diff --git a/.github/workflows/toolchain.yml b/.github/workflows/toolchain.yml index 24c4f22b..465f3266 100644 --- a/.github/workflows/toolchain.yml +++ b/.github/workflows/toolchain.yml @@ -23,6 +23,12 @@ jobs: # Sigmastar [I6E] - {"platform": "ssc338q"} + # Ingenic [T31] + - {"platform": "t31"} + + # Ingenic [T40] + - {"platform": "t40"} + # Hisilicon [HI3516CV100] - {"platform": "hi3516cv100"} @@ -44,12 +50,6 @@ jobs: # Hisilicon [HI3536CV100] - {"platform": "hi3536cv100"} - # Ingenic [T31] - - {"platform": "t31"} - - # Ingenic [T40] - - {"platform": "t40"} - # Goke [GK710X] - {"platform": "gk7102"}