From 3d07d453e03bf0c8b0203f21eab9b6402f709381 Mon Sep 17 00:00:00 2001 From: Brennan Ashton Date: Thu, 10 Sep 2020 11:02:48 -0700 Subject: [PATCH] CI: Disable keeping ccache across builds Signed-off-by: Brennan Ashton --- .github/workflows/build.yml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 963c1693eb..cf1a0f68d3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -170,13 +170,6 @@ jobs: - name: Export NuttX Repo SHA run: echo "::set-env name=nuttx_sha::`git -C sources/nuttx rev-parse HEAD`" - - name: Restore ccache - id: ccache - uses: actions/cache@v2 - with: - path: ccache - key: ccache-${{ runner.os }}-${{matrix.boards}}-${{ github.run_id }} - restore-keys: ccache-${{ runner.os }}-${{matrix.boards}}- - name: Run builds uses: ./sources/testing/.github/actions/ci-container env: @@ -185,11 +178,10 @@ jobs: run: | echo "::add-matcher::sources/nuttx/.github/gcc.json" export CCACHE_DIR=`pwd`/ccache + mkdir $CCACHE_DIR cd sources/testing ./cibuild.sh -c -x testlist/${{matrix.boards}}.dat ccache -s - ccache -M 400M - ccache -c macOS: runs-on: macos-10.15 @@ -228,19 +220,11 @@ jobs: - name: Export NuttX Repo SHA run: echo "::set-env name=nuttx_sha::`git -C sources/nuttx rev-parse HEAD`" - - name: Restore ccache - id: ccache - uses: actions/cache@v2 - with: - path: ccache - key: ccache-${{ runner.os }}-${{matrix.boards}}-${{ github.run_id }} - restore-keys: ccache-${{ runner.os }}-${{matrix.boards}}- - name: Run Builds run: | echo "::add-matcher::sources/nuttx/.github/gcc.json" export CCACHE_DIR=`pwd`/ccache + mkdir $CCACHE_DIR cd sources/testing ./cibuild.sh -i -c -x testlist/${{matrix.boards}}.dat ccache -s - ccache -M 400M - ccache -c