File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 4848 - name : Setup ccache
4949 uses : actions/cache@v4
5050 with :
51- path : ${{ github.workspace }}/.ccache
51+ path : ${{ env.CCACHE_DIR }}
5252 key : ${{ runner.os }}-ccache-${{ matrix.ubuntu }}-${{ hashFiles('**/CMakeLists.txt') }}
5353 restore-keys : |
5454 ${{ runner.os }}-ccache-${{ matrix.ubuntu }}-
Original file line number Diff line number Diff line change 3030 name : Pixi - ${{ matrix.os }} - Env ${{ matrix.environment }} ${{ matrix.build_type }} ${{ matrix.cxx_options }}
3131 runs-on : ${{ matrix.os }}
3232 env :
33- CCACHE_BASEDIR : " ${GITHUB_WORKSPACE} "
34- CCACHE_DIR : " ${GITHUB_WORKSPACE} /.ccache"
33+ CCACHE_BASEDIR : ${{ github.workspace }}
34+ CCACHE_DIR : ${{ github.workspace }} /.ccache
3535 CCACHE_COMPRESS : true
3636 CCACHE_COMPRESSLEVEL : 6
3737 # Since pixi will install a compiler, the compiler mtime will be changed.
6767
6868 - uses : actions/cache@v4
6969 with :
70- path : .ccache
70+ path : ${{ env.CCACHE_DIR }}
7171 key : ccache-macos-linux-windows-pixi-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}-${{ matrix.environment }}-${{ github.sha }}
7272 restore-keys : ccache-macos-linux-windows-pixi-${{ matrix.os }}-${{ matrix.build_type }}-${{ matrix.cxx_options }}-${{ matrix.environment }}-
7373
7878
7979 - name : Clear ccache statistics [MacOS/Linux/Windows]
8080 run : |
81- pixi run -e ${{ matrix.environment }} ccache -z
81+ pixi run -e ${{ matrix.environment }} ccache --show-stats --zero-stats --verbose
8282
8383 - name : Configure EigenPy [MacOS/Linux/Windows]
8484 env :
9999
100100 - name : Show ccache statistics [MacOS/Linux/Windows]
101101 run : |
102- pixi run -e ${{ matrix.environment }} ccache -sv
102+ pixi run -e ${{ matrix.environment }} ccache --show-stats --verbose
103103
104104 eigenpy-pixi-build :
105105 name : Pixi build - ${{ matrix.os }}
You can’t perform that action at this time.
0 commit comments