mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
build: enable sccache on windows (#20790)
* build: enable sccache on windows * chore: temporarily disable the docs only check * build: fix escaping in sccache path on windows * Update appveyor.yml * Update appveyor.yml * Use sccache settings from CI * Use Azure enabled sccache for Windows
This commit is contained in:
committed by
John Kleinschmidt
parent
d9b058c694
commit
7ae8538847
@@ -79,7 +79,7 @@ build_script:
|
||||
- gclient sync --with_branch_heads --with_tags --reset
|
||||
- cd src
|
||||
- ps: $env:BUILD_CONFIG_PATH="//electron/build/args/%GN_CONFIG%.gn"
|
||||
- gn gen out/Default "--args=import(\"%BUILD_CONFIG_PATH%\") %GN_EXTRA_ARGS%"
|
||||
- gn gen out/Default "--args=import(\"%BUILD_CONFIG_PATH%\") %GN_EXTRA_ARGS% cc_wrapper=\"%SCCACHE_PATH%\""
|
||||
- gn check out/Default //electron:electron_lib
|
||||
- gn check out/Default //electron:electron_app
|
||||
- gn check out/Default //electron:manifests
|
||||
@@ -94,6 +94,7 @@ build_script:
|
||||
- ninja -C out/Default electron:hunspell_dictionaries_zip
|
||||
- ninja -C out/Default electron:electron_chromedriver_zip
|
||||
- ninja -C out/Default third_party/electron_node:headers
|
||||
- cmd /C %SCCACHE_PATH% --show-stats
|
||||
- appveyor PushArtifact out/Default/dist.zip
|
||||
- appveyor PushArtifact out/Default/shell_browser_ui_unittests.exe
|
||||
- appveyor PushArtifact out/Default/chromedriver.zip
|
||||
|
||||
Reference in New Issue
Block a user