|
|
@ -62,7 +62,7 @@ jobs:
|
|
|
|
if: inputs.platform-files
|
|
|
|
if: inputs.platform-files
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: ~/.ccache
|
|
|
|
path: ~/.cache/ccache
|
|
|
|
key: linux-gcc-${{ inputs.gcc-ver }}-${{ inputs.cache-id }}-${{ github.sha }}
|
|
|
|
key: linux-gcc-${{ inputs.gcc-ver }}-${{ inputs.cache-id }}-${{ github.sha }}
|
|
|
|
restore-keys: |
|
|
|
|
restore-keys: |
|
|
|
|
linux-gcc-${{ inputs.gcc-ver }}-${{ inputs.cache-id }}
|
|
|
|
linux-gcc-${{ inputs.gcc-ver }}-${{ inputs.cache-id }}
|
|
|
@ -71,7 +71,6 @@ jobs:
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
CC: gcc-${{ inputs.gcc-ver }}
|
|
|
|
CC: gcc-${{ inputs.gcc-ver }}
|
|
|
|
CXX: g++-${{ inputs.gcc-ver }}
|
|
|
|
CXX: g++-${{ inputs.gcc-ver }}
|
|
|
|
CCACHE_DIR: ${{ github.env.HOME }}/.ccache
|
|
|
|
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
cmake \
|
|
|
|
cmake \
|
|
|
|
-S . \
|
|
|
|
-S . \
|
|
|
@ -100,7 +99,7 @@ jobs:
|
|
|
|
run: |
|
|
|
|
run: |
|
|
|
|
ccache --max-size 50M
|
|
|
|
ccache --max-size 50M
|
|
|
|
ccache --cleanup
|
|
|
|
ccache --cleanup
|
|
|
|
ccache --show-stats
|
|
|
|
ccache --show-stats --verbose
|
|
|
|
- name: Format artifact name
|
|
|
|
- name: Format artifact name
|
|
|
|
if: inputs.append-date-and-hash
|
|
|
|
if: inputs.append-date-and-hash
|
|
|
|
id: artifactname
|
|
|
|
id: artifactname
|
|
|
|