Remove github cache saving and restoring from unit tests (#4399)
This commit is contained in:
parent
9c2e7d85cf
commit
97e9b32ee5
1 changed files with 0 additions and 63 deletions
63
.github/workflows/unit_tests.yml
vendored
63
.github/workflows/unit_tests.yml
vendored
|
@ -23,18 +23,6 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
fetch-depth: 0 # Full history needed for restoring file timestamps
|
||||
|
||||
- name: Restore Timestamps
|
||||
uses: ./.github/actions/restore-git-mtimes
|
||||
continue-on-error: true
|
||||
|
||||
- name: Restore Build Cache
|
||||
uses: actions/cache/restore@v3
|
||||
continue-on-error: true
|
||||
with:
|
||||
path: build
|
||||
key: ${{ runner.os }}-build-cache
|
||||
|
||||
- name: Prepare
|
||||
run: ci/prepare/macos/prepare.sh
|
||||
|
@ -43,15 +31,6 @@ jobs:
|
|||
id: build
|
||||
run: ci/build-tests.sh
|
||||
|
||||
- name: Save Build Cache
|
||||
# Only save build cache from develop to avoid polluting it by other branches / PRs
|
||||
if: github.ref == 'refs/heads/develop' && success()
|
||||
uses: actions/cache/save@v3
|
||||
continue-on-error: true
|
||||
with:
|
||||
path: build
|
||||
key: ${{ runner.os }}-build-cache
|
||||
|
||||
- name: Core Tests
|
||||
if: steps.build.outcome == 'success' && (success() || failure())
|
||||
run: ../ci/tests/run-core-tests.sh
|
||||
|
@ -90,18 +69,6 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
fetch-depth: 0 # Full history needed for restoring file timestamps
|
||||
|
||||
- name: Restore Timestamps
|
||||
uses: ./.github/actions/restore-git-mtimes
|
||||
continue-on-error: true
|
||||
|
||||
- name: Restore Build Cache
|
||||
uses: actions/cache/restore@v3
|
||||
continue-on-error: true
|
||||
with:
|
||||
path: build
|
||||
key: ${{ runner.os }}-${{ env.COMPILER }}-build-cache
|
||||
|
||||
- name: Prepare
|
||||
run: sudo -E ci/prepare/linux/prepare.sh
|
||||
|
@ -110,15 +77,6 @@ jobs:
|
|||
id: build
|
||||
run: ci/build-tests.sh
|
||||
|
||||
- name: Save Build Cache
|
||||
# Only save build cache from develop to avoid polluting it by other branches / PRs
|
||||
if: github.ref == 'refs/heads/develop' && success()
|
||||
uses: actions/cache/save@v3
|
||||
continue-on-error: true
|
||||
with:
|
||||
path: build
|
||||
key: ${{ runner.os }}-${{ env.COMPILER }}-build-cache
|
||||
|
||||
- name: Core Tests
|
||||
if: steps.build.outcome == 'success' && (success() || failure())
|
||||
run: ../ci/tests/run-core-tests.sh
|
||||
|
@ -160,18 +118,6 @@ jobs:
|
|||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: "recursive"
|
||||
fetch-depth: 0 # full history needed for restoring file timestamps
|
||||
|
||||
- name: Restore Timestamps
|
||||
uses: ./.github/actions/restore-git-mtimes
|
||||
continue-on-error: true
|
||||
|
||||
- name: Restore Build Cache
|
||||
uses: actions/cache/restore@v3
|
||||
continue-on-error: true
|
||||
with:
|
||||
path: build
|
||||
key: ${{ runner.os }}-build-cache
|
||||
|
||||
- name: Prepare
|
||||
run: ci/prepare/windows/prepare.ps1
|
||||
|
@ -181,15 +127,6 @@ jobs:
|
|||
run: ci/build-tests.sh
|
||||
shell: bash
|
||||
|
||||
- name: Save Build Cache
|
||||
# only save build cache from develop to avoid polluting it by other branches / PRs
|
||||
if: github.ref == 'refs/heads/develop' && success()
|
||||
uses: actions/cache/save@v3
|
||||
continue-on-error: true
|
||||
with:
|
||||
path: build
|
||||
key: ${{ runner.os }}-build-cache
|
||||
|
||||
- name: Core Tests
|
||||
if: steps.build.outcome == 'success' && (success() || failure())
|
||||
run: ../ci/tests/run-core-tests.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue