File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,16 +36,25 @@ jobs:
3636
3737 - name : ccache
3838 uses : hendrikmuhs/ccache-action@5ebbd400eff9e74630f759d94ddd7b6c26299639 # v1.2
39+ if : ${{ matrix.platform != 'windows-latest' }}
3940 with :
4041 key : ${{ github.job }}-${{ matrix.platform }}
4142 verbose : 1
42- create-symlink : ${{ matrix.platform != 'windows-latest' }}
43+ create-symlink : true
44+
45+ - name : Setup cache for clcache
46+ if : ${{ matrix.platform == 'windows-latest' }}
47+ uses : actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
48+ with :
49+ path : ${{ github.workspace }}\.clcache
50+ key : ${{ github.job }}-${{ matrix.platform }}
4351
4452 - name : Create binary
4553 env :
4654 CCACHE_BASEDIR : ${{ github.workspace }}
4755 CCACHE_NOHASHDIR : true
48- NUITKA_CACHE_DIR_CCACHE : $HOME/.ccache
56+ NUITKA_CACHE_DIR_CCACHE : ${{ github.workspace }}/.ccache
57+ NUITKA_CACHE_DIR_CLCACHE : ${{ github.workspace }}\.clcache
4958 NUITKA_CCACHE_BINARY : /usr/bin/ccache
5059 run : |
5160 pip install .[build]
You can’t perform that action at this time.
0 commit comments