You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/09/11 02:03:24 UTC
[incubator-nuttx] branch master updated: CI: Disable keeping ccache
across builds
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new 3d07d45 CI: Disable keeping ccache across builds
3d07d45 is described below
commit 3d07d453e03bf0c8b0203f21eab9b6402f709381
Author: Brennan Ashton <ba...@brennanashton.com>
AuthorDate: Thu Sep 10 11:02:48 2020 -0700
CI: Disable keeping ccache across builds
Signed-off-by: Brennan Ashton <ba...@brennanashton.com>
---
.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 963c169..cf1a0f6 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