mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
Fix sccache path
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@@ -105,7 +105,6 @@ jobs:
|
|||||||
key: sccache-dumper-${{ github.head_ref || github.ref_name }}-
|
key: sccache-dumper-${{ github.head_ref || github.ref_name }}-
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
sccache-dumper-${{ github.event.repository.default_branch }}-
|
sccache-dumper-${{ github.event.repository.default_branch }}-
|
||||||
sccache dumper ${{ github.head_ref || github.ref_name }}-
|
|
||||||
|
|
||||||
- name: Install sccache
|
- name: Install sccache
|
||||||
uses: mozilla-actions/sccache-action@v0.0.9
|
uses: mozilla-actions/sccache-action@v0.0.9
|
||||||
@@ -302,7 +301,6 @@ jobs:
|
|||||||
key: sccache-${{matrix.platform}}-${{matrix.configuration}}-${{ github.head_ref || github.ref_name }}-
|
key: sccache-${{matrix.platform}}-${{matrix.configuration}}-${{ github.head_ref || github.ref_name }}-
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
sccache-${{matrix.platform}}-${{matrix.configuration}}-${{ github.event.repository.default_branch }}-
|
sccache-${{matrix.platform}}-${{matrix.configuration}}-${{ github.event.repository.default_branch }}-
|
||||||
sccache ${{matrix.platform}} ${{matrix.configuration}} ${{ github.head_ref || github.ref_name }}-
|
|
||||||
|
|
||||||
- name: Install sccache
|
- name: Install sccache
|
||||||
uses: mozilla-actions/sccache-action@v0.0.9
|
uses: mozilla-actions/sccache-action@v0.0.9
|
||||||
@@ -323,7 +321,7 @@ jobs:
|
|||||||
uses: actions/cache/save@v3
|
uses: actions/cache/save@v3
|
||||||
with:
|
with:
|
||||||
path: ${{env.SCCACHE_DIR}}
|
path: ${{env.SCCACHE_DIR}}
|
||||||
key: sccache ${{matrix.platform}} ${{matrix.configuration}} ${{ github.head_ref || github.ref_name }}-${{github.run_id}}-${{github.run_attempt}}
|
key: sccache-${{matrix.platform}}-${{matrix.configuration}}-${{ github.head_ref || github.ref_name }}-${{github.run_id}}-${{github.run_attempt}}
|
||||||
|
|
||||||
- name: Upload Artifacts
|
- name: Upload Artifacts
|
||||||
uses: pyTooling/upload-artifact@v4
|
uses: pyTooling/upload-artifact@v4
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ include_guard()
|
|||||||
find_program(SCCACHE sccache)
|
find_program(SCCACHE sccache)
|
||||||
|
|
||||||
if (SCCACHE)
|
if (SCCACHE)
|
||||||
|
file(TO_CMAKE_PATH "${SCCACHE}" SCCACHE)
|
||||||
set(CMAKE_C_COMPILER_LAUNCHER ${SCCACHE})
|
set(CMAKE_C_COMPILER_LAUNCHER ${SCCACHE})
|
||||||
set(CMAKE_CXX_COMPILER_LAUNCHER ${SCCACHE})
|
set(CMAKE_CXX_COMPILER_LAUNCHER ${SCCACHE})
|
||||||
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT Embedded)
|
set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT Embedded)
|
||||||
|
|||||||
Reference in New Issue
Block a user