ci: new name for scons cache to switch to new timestamp

old-commit-hash: 4462d4c31f
commatwo_master
Willem Melching 4 years ago
parent d3ca4af4a6
commit bf03231af5
  1. 32
      .github/workflows/selfdrive_tests.yaml

@ -41,8 +41,8 @@ jobs:
CACHE_SKIP_SAVE: true CACHE_SKIP_SAVE: true
with: with:
path: /tmp/scons_cache path: /tmp/scons_cache
key: scons-cache-${{ steps.stamps.outputs.time }} key: scons-build-cache-${{ steps.stamps.outputs.time }}
restore-keys: scons-cache- restore-keys: scons-build-cache-
- name: Strip non-release files - name: Strip non-release files
run: | run: |
mkdir $STRIPPED_DIR mkdir $STRIPPED_DIR
@ -155,8 +155,8 @@ jobs:
CACHE_SKIP_SAVE: ${{ github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot' }} CACHE_SKIP_SAVE: ${{ github.ref == 'refs/heads/master' && github.repository == 'commaai/openpilot' }}
with: with:
path: /tmp/scons_cache path: /tmp/scons_cache
key: scons-cache-${{ steps.stamps.outputs.time }} key: scons-build-cache-${{ steps.stamps.outputs.time }}
restore-keys: scons-cache- restore-keys: scons-build-cache-
- name: Build Docker image - name: Build Docker image
run: eval "$BUILD" run: eval "$BUILD"
- name: Push to container registry - name: Push to container registry
@ -180,8 +180,8 @@ jobs:
CACHE_SKIP_SAVE: true CACHE_SKIP_SAVE: true
with: with:
path: /tmp/scons_cache path: /tmp/scons_cache
key: scons-cache-${{ steps.stamps.outputs.time }} key: scons-build-cache-${{ steps.stamps.outputs.time }}
restore-keys: scons-cache- restore-keys: scons-build-cache-
- name: Build Docker image - name: Build Docker image
run: eval "$BUILD" run: eval "$BUILD"
- name: pre-commit - name: pre-commit
@ -209,8 +209,8 @@ jobs:
CACHE_SKIP_SAVE: true CACHE_SKIP_SAVE: true
with: with:
path: /tmp/scons_cache path: /tmp/scons_cache
key: scons-cache-${{ steps.stamps.outputs.time }} key: scons-build-cache-${{ steps.stamps.outputs.time }}
restore-keys: scons-cache- restore-keys: scons-build-cache-
- name: Build Docker image - name: Build Docker image
run: eval "$BUILD" run: eval "$BUILD"
- name: Run valgrind - name: Run valgrind
@ -237,8 +237,8 @@ jobs:
CACHE_SKIP_SAVE: true CACHE_SKIP_SAVE: true
with: with:
path: /tmp/scons_cache path: /tmp/scons_cache
key: scons-cache-${{ steps.stamps.outputs.time }} key: scons-build-cache-${{ steps.stamps.outputs.time }}
restore-keys: scons-cache- restore-keys: scons-build-cache-
- name: Build Docker image - name: Build Docker image
run: eval "$BUILD" run: eval "$BUILD"
- name: Run unit tests - name: Run unit tests
@ -286,8 +286,8 @@ jobs:
CACHE_SKIP_SAVE: true CACHE_SKIP_SAVE: true
with: with:
path: /tmp/scons_cache path: /tmp/scons_cache
key: scons-cache-${{ steps.stamps.outputs.time }} key: scons-build-cache-${{ steps.stamps.outputs.time }}
restore-keys: scons-cache- restore-keys: scons-build-cache-
- name: Build Docker image - name: Build Docker image
run: eval "$BUILD" run: eval "$BUILD"
- name: Run replay - name: Run replay
@ -337,8 +337,8 @@ jobs:
CACHE_SKIP_SAVE: true CACHE_SKIP_SAVE: true
with: with:
path: /tmp/scons_cache path: /tmp/scons_cache
key: scons-cache-${{ steps.stamps.outputs.time }} key: scons-build-cache-${{ steps.stamps.outputs.time }}
restore-keys: scons-cache- restore-keys: scons-build-cache-
- name: Build Docker image - name: Build Docker image
run: eval "$BUILD" run: eval "$BUILD"
- name: Test longitudinal - name: Test longitudinal
@ -376,8 +376,8 @@ jobs:
CACHE_SKIP_SAVE: true CACHE_SKIP_SAVE: true
with: with:
path: /tmp/scons_cache path: /tmp/scons_cache
key: scons-cache-${{ steps.stamps.outputs.time }} key: scons-build-cache-${{ steps.stamps.outputs.time }}
restore-keys: scons-cache- restore-keys: scons-build-cache-
- name: Build Docker image - name: Build Docker image
run: eval "$BUILD" run: eval "$BUILD"
- name: Test car models - name: Test car models

Loading…
Cancel
Save