You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/09/04 06:25:10 UTC

[GitHub] [incubator-nuttx-testing] btashton commented on a change in pull request #61: CI: Test enabling ccache for builds

btashton commented on a change in pull request #61:
URL: https://github.com/apache/incubator-nuttx-testing/pull/61#discussion_r483412336



##########
File path: .github/workflows/build.yml
##########
@@ -63,16 +64,41 @@ jobs:
         timeout_minutes: 10
         max_attempts: 3
         retry_wait_seconds: 10
-        command: docker pull docker.pkg.github.com/apache/incubator-nuttx-testing/nuttx-ci-linux
+        command: docker pull $IMAGE_TAG
 
+    - name: Restore ccache
+      id: ccache
+      uses: actions/cache@v2
+      with:
+        path: ccache
+        key: ccache-${{ runner.os }}-${{matrix.boards}}-
+        restore-keys: ccache-${{ runner.os }}-${{matrix.boards}}-${{ github.run_id }}
     - name: Run builds
       uses: ./testing/.github/actions/ci-container
       env:
         BLOBDIR: /tools/blobs
       with:
         run: |
+          apt-get update -qq && apt-get install -y -qq --no-install-recommends ccache

Review comment:
       Note the installation of ccache and the symbolic links are only here because the run will not make use of the changes in the Docker image.  Once this is ready they will be dropped from here and only exist in the image.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org