File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -88,24 +88,29 @@ jobs:
88
88
# Setup build caching
89
89
#
90
90
91
- - name : Set ccache size
91
+ - name : Set ccache params
92
92
shell : bash
93
93
id : ccache
94
94
run : |
95
95
if [[ "${{ runner.os }}" == "Windows" ]]; then
96
- echo "MAX_SIZE=1200M " >> $GITHUB_OUTPUT
96
+ echo "VARIANT=sccache " >> $GITHUB_OUTPUT
97
97
else
98
+ echo "VARIANT=ccache" >> $GITHUB_OUTPUT
98
99
echo "MAX_SIZE=500M" >> $GITHUB_OUTPUT
99
100
fi
100
101
101
102
- name : Setup ccache
102
- # uses: hendrikmuhs/ ccache[email protected]
103
- uses : robotpy /ccache-action@fork
103
+ if : steps. ccache.outputs.variant == 'ccache'
104
+ uses : hendrikmuhs /ccache-action@v1.2
104
105
with :
105
106
key : ${{ matrix.os }}-${{ matrix.python_version }}
106
107
variant : ccache
107
108
max-size : ${{ steps.ccache.outputs.max_size }}
108
109
110
+ - name : Setup sccache
111
+ if : steps.ccache.outputs.variant == 'sccache'
112
+ uses :
mozilla-actions/[email protected]
113
+
109
114
- name : Install deps
110
115
shell : bash
111
116
run : |
@@ -122,7 +127,7 @@ jobs:
122
127
./rdev.sh ci run
123
128
env :
124
129
RPYBUILD_STRIP_LIBPYTHON : " 1"
125
- RPYBUILD_CC_LAUNCHER : ccache
130
+ RPYBUILD_CC_LAUNCHER : ${{ steps. ccache.outputs.variant }}
126
131
127
132
- uses : actions/upload-artifact@v4
128
133
with :
You can’t perform that action at this time.
0 commit comments