mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Auto merge of #29632 - sagudev:ci-cache-win, r=jdm
Use ccache on windows workflow Because `sccache` is not working when setting `CCACHE=sccache` I used ccache which is taking cache hits. I would certainly love to share some timings, but I found out that windows builds have very inconsistent timings.
This commit is contained in:
commit
9acb9cc5cf
1 changed files with 4 additions and 0 deletions
4
.github/workflows/windows.yml
vendored
4
.github/workflows/windows.yml
vendored
|
@ -39,6 +39,8 @@ env:
|
|||
SHELL: /bin/bash
|
||||
LAYOUT: "${{ contains(inputs.layout, '2020') && 'layout-2020' || 'layout-2013' }}"
|
||||
PACKAGE: "${{ contains(inputs.layout, '2020') && 'windows-msvc-layout2020' || 'windows-msvc' }}"
|
||||
CCACHE: "ccache"
|
||||
CARGO_INCREMENTAL: 0
|
||||
|
||||
jobs:
|
||||
build-win:
|
||||
|
@ -63,6 +65,8 @@ jobs:
|
|||
Start-BitsTransfer -Source https://github.com/wixtoolset/wix3/releases/download/wix3111rtm/wix311-binaries.zip -Destination C:\\wix311-binaries.zip
|
||||
Expand-Archive C:\\wix311-binaries.zip -DestinationPath C:\\wix
|
||||
echo "C:\\wix" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
|
||||
- name: ccache
|
||||
uses: hendrikmuhs/ccache-action@v1.2
|
||||
- name: Bootstrap
|
||||
working-directory: "C:\\a\\${{ github.event.repository.name }}\\${{ github.event.repository.name }}"
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue