misc,tests: Fix incorrect date assignment in Actions
This commit is contained in:
6
.github/workflows/ci-tests.yaml
vendored
6
.github/workflows/ci-tests.yaml
vendored
@@ -56,7 +56,7 @@ jobs:
|
|||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: build/ALL
|
path: build/ALL
|
||||||
key: testlib-build-all-${{ env.date }}
|
key: testlib-build-all-${{ needs.get-date.outputs.date }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
testlib-build-all
|
testlib-build-all
|
||||||
|
|
||||||
@@ -126,7 +126,7 @@ jobs:
|
|||||||
if: ${{ endsWith(matrix.build-target, 'build/ALL/gem5.opt') }}
|
if: ${{ endsWith(matrix.build-target, 'build/ALL/gem5.opt') }}
|
||||||
with:
|
with:
|
||||||
path: build/ALL
|
path: build/ALL
|
||||||
key: testlib-build-all-${{ env.date }}
|
key: testlib-build-all-${{ needs.get-date.outputs.date }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
testlib-build-all
|
testlib-build-all
|
||||||
|
|
||||||
@@ -250,7 +250,7 @@ jobs:
|
|||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: build/VEGA_X86
|
path: build/VEGA_X86
|
||||||
key: testlib-build-vega-${{ env.date }}
|
key: testlib-build-vega-${{ needs.get-date.outputs.date }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
testlib-build-vega
|
testlib-build-vega
|
||||||
|
|
||||||
|
|||||||
12
.github/workflows/daily-tests.yaml
vendored
12
.github/workflows/daily-tests.yaml
vendored
@@ -11,6 +11,8 @@ jobs:
|
|||||||
|
|
||||||
get-date:
|
get-date:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
date: ${{ steps.date.outputs.date }}
|
||||||
steps:
|
steps:
|
||||||
- name: Get the current date
|
- name: Get the current date
|
||||||
id: date
|
id: date
|
||||||
@@ -31,7 +33,7 @@ jobs:
|
|||||||
uses: actions/cache/restore@v4
|
uses: actions/cache/restore@v4
|
||||||
with:
|
with:
|
||||||
path: build/ALL
|
path: build/ALL
|
||||||
key: testlib-build-all-${{ env.date }}
|
key: testlib-build-all-${{ needs.get-date.outputs.date }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
testlib-build-all
|
testlib-build-all
|
||||||
- name: ALL/unittests.${{ matrix.type }} UnitTests
|
- name: ALL/unittests.${{ matrix.type }} UnitTests
|
||||||
@@ -57,13 +59,13 @@ jobs:
|
|||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: build/NULL
|
path: build/NULL
|
||||||
key: testlib-build-null-${{ env.date }}
|
key: testlib-build-null-${{ needs.get-date.outputs.date }}
|
||||||
|
|
||||||
- name: Restore build/ALL cache
|
- name: Restore build/ALL cache
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: build/ALL
|
path: build/ALL
|
||||||
key: testlib-build-all-${{ env.date }}
|
key: testlib-build-all-${{ needs.get-date.outputs.date }}
|
||||||
|
|
||||||
- name: long ${{ matrix.test-type }} tests
|
- name: long ${{ matrix.test-type }} tests
|
||||||
working-directory: ${{ github.workspace }}/tests
|
working-directory: ${{ github.workspace }}/tests
|
||||||
@@ -101,7 +103,7 @@ jobs:
|
|||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: build/ALL
|
path: build/ALL
|
||||||
key: testlib-build-all-${{ env.date }}
|
key: testlib-build-all-${{ needs.get-date.outputs.date }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
testlib-build-all
|
testlib-build-all
|
||||||
|
|
||||||
@@ -135,7 +137,7 @@ jobs:
|
|||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: build/VEGA_X86
|
path: build/VEGA_X86
|
||||||
key: testlib-build-vega-${{ env.date }}
|
key: testlib-build-vega-${{ needs.get-date.outputs.date }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
testlib-build-vega
|
testlib-build-vega
|
||||||
|
|
||||||
|
|||||||
6
.github/workflows/weekly-tests.yaml
vendored
6
.github/workflows/weekly-tests.yaml
vendored
@@ -11,6 +11,8 @@ jobs:
|
|||||||
|
|
||||||
get-date:
|
get-date:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
outputs:
|
||||||
|
date: ${{ steps.date.outputs.date }}
|
||||||
steps:
|
steps:
|
||||||
- name: Get the current date
|
- name: Get the current date
|
||||||
id: date
|
id: date
|
||||||
@@ -35,7 +37,7 @@ jobs:
|
|||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: build/ALL
|
path: build/ALL
|
||||||
key: testlib-build-all-${{ env.date }}
|
key: testlib-build-all-${{ needs.get-date.outputs.date }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
testlib-build-all
|
testlib-build-all
|
||||||
|
|
||||||
@@ -68,7 +70,7 @@ jobs:
|
|||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
with:
|
with:
|
||||||
path: build/VEGA_X86
|
path: build/VEGA_X86
|
||||||
key: testlib-build-vega-${{ env.date }}
|
key: testlib-build-vega-${{ needs.get-date.outputs.date }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
testlib-build-vega
|
testlib-build-vega
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user