File tree 1 file changed +1
-16
lines changed
1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -98,26 +98,11 @@ jobs:
98
98
env :
99
99
OS : ${{ runner.os }}
100
100
run : |
101
- if [[ "$OS" != "Linux" ]]; then
102
- echo "VARIANT=sccache" >> $GITHUB_OUTPUT
103
- else
104
- echo "VARIANT=ccache" >> $GITHUB_OUTPUT
105
- echo "MAX_SIZE=500M" >> $GITHUB_OUTPUT
106
- fi
107
101
if [[ "$OS" == "macOS" ]]; then
108
102
echo "SCCACHE_CACHE_MULTIARCH=1" >> $GITHUB_ENV
109
103
fi
110
104
111
- - name : Setup ccache
112
- if : steps.ccache.outputs.variant == 'ccache'
113
- uses :
hendrikmuhs/[email protected]
114
- with :
115
- key : ${{ matrix.os }}-${{ matrix.python_version }}
116
- variant : ccache
117
- max-size : ${{ steps.ccache.outputs.max_size }}
118
-
119
105
- name : Setup sccache
120
- if : steps.ccache.outputs.variant == 'sccache'
121
106
uses :
mozilla-actions/[email protected]
122
107
123
108
- name : Install deps
@@ -136,7 +121,7 @@ jobs:
136
121
./rdev.sh ci run
137
122
env :
138
123
RPYBUILD_STRIP_LIBPYTHON : " 1"
139
- RPYBUILD_CC_LAUNCHER : ${{ steps.ccache.outputs.variant }}
124
+ RPYBUILD_CC_LAUNCHER : sccache
140
125
SCCACHE_WEBDAV_USERNAME : ${{ secrets.WPI_ARTIFACTORY_USERNAME }}
141
126
SCCACHE_WEBDAV_PASSWORD : ${{ secrets.WPI_ARTIFACTORY_TOKEN }}
142
127
You can’t perform that action at this time.
0 commit comments