Use ccache in MSW cross build CI workflows too
This should hopefully help to speed up this build as well. Unfortunately we can't easily use ccache for the Mac builds because this requires having brew installed and we don't have it currently. We probably can use it for CMake workflow but this probably requires some arcane way of configuring CMake to use ccache that I'm not aware about and would need to be done by someone else.
This commit is contained in:
parent
54f3264886
commit
ecbcbdc945
1 changed files with 7 additions and 0 deletions
7
.github/workflows/ci_msw_cross.yml
vendored
7
.github/workflows/ci_msw_cross.yml
vendored
|
|
@ -130,6 +130,11 @@ jobs:
|
|||
with:
|
||||
submodules: 'recursive'
|
||||
|
||||
- name: Install CCache
|
||||
uses: hendrikmuhs/ccache-action@v1.2.1
|
||||
with:
|
||||
key: ${{ matrix.name }}
|
||||
|
||||
- name: System and environment setup
|
||||
run: |
|
||||
normal_uid=`id --user`
|
||||
|
|
@ -149,6 +154,8 @@ jobs:
|
|||
|
||||
echo "wxMAKEFILE_ERROR_CXXFLAGS=-Werror -Wno-error=cpp" >> $GITHUB_ENV
|
||||
|
||||
echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
|
||||
|
||||
- name: Configure
|
||||
run: |
|
||||
./configure --host=${HOST_TRIPLET} --disable-sys-libs --disable-optimise --disable-debug_info $wxCONFIGURE_FLAGS || rc=$?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue