Remove github cache saving and restoring from unit tests (#4399)

This commit is contained in:
Dimitrios Siganos 2024-01-31 22:47:16 +07:00 committed by GitHub
commit 97e9b32ee5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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