docs: Update the sccache name (#20462)
This commit is contained in:
parent
23066f8cce
commit
b3e7657159
2 changed files with 12 additions and 12 deletions
|
@ -4,7 +4,7 @@ parameters:
|
||||||
upload-to-s3:
|
upload-to-s3:
|
||||||
type: string
|
type: string
|
||||||
default: '1'
|
default: '1'
|
||||||
|
|
||||||
run-lint:
|
run-lint:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: true
|
default: true
|
||||||
|
@ -28,11 +28,11 @@ parameters:
|
||||||
run-linux-arm-publish:
|
run-linux-arm-publish:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
run-linux-arm64-publish:
|
run-linux-arm64-publish:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
|
||||||
run-osx-publish:
|
run-osx-publish:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
@ -136,7 +136,7 @@ env-linux-medium: &env-linux-medium
|
||||||
|
|
||||||
env-linux-2xlarge: &env-linux-2xlarge
|
env-linux-2xlarge: &env-linux-2xlarge
|
||||||
NUMBER_OF_NINJA_PROCESSES: 34
|
NUMBER_OF_NINJA_PROCESSES: 34
|
||||||
|
|
||||||
env-linux-2xlarge-release: &env-linux-2xlarge-release
|
env-linux-2xlarge-release: &env-linux-2xlarge-release
|
||||||
NUMBER_OF_NINJA_PROCESSES: 16
|
NUMBER_OF_NINJA_PROCESSES: 16
|
||||||
|
|
||||||
|
@ -221,7 +221,7 @@ step-setup-env-for-build: &step-setup-env-for-build
|
||||||
echo 'export SCCACHE_PATH="'"$SCCACHE_PATH"'"' >> $BASH_ENV
|
echo 'export SCCACHE_PATH="'"$SCCACHE_PATH"'"' >> $BASH_ENV
|
||||||
if [ "$CIRCLE_PR_NUMBER" != "" ]; then
|
if [ "$CIRCLE_PR_NUMBER" != "" ]; then
|
||||||
#if building a fork set readonly access to sccache
|
#if building a fork set readonly access to sccache
|
||||||
echo 'export SCCACHE_BUCKET="electronjs-sccache"' >> $BASH_ENV
|
echo 'export SCCACHE_BUCKET="electronjs-sccache-ci"' >> $BASH_ENV
|
||||||
echo 'export SCCACHE_TWO_TIER=true' >> $BASH_ENV
|
echo 'export SCCACHE_TWO_TIER=true' >> $BASH_ENV
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -329,7 +329,7 @@ step-electron-build: &step-electron-build
|
||||||
ninja -C out/Default electron -j $NUMBER_OF_NINJA_PROCESSES
|
ninja -C out/Default electron -j $NUMBER_OF_NINJA_PROCESSES
|
||||||
|
|
||||||
step-native-unittests-build: &step-native-unittests-build
|
step-native-unittests-build: &step-native-unittests-build
|
||||||
run:
|
run:
|
||||||
name: Build native test targets
|
name: Build native test targets
|
||||||
no_output_timeout: 30m
|
no_output_timeout: 30m
|
||||||
command: |
|
command: |
|
||||||
|
@ -890,7 +890,7 @@ steps-electron-build-with-inline-checkout-for-tests: &steps-electron-build-with-
|
||||||
- *step-generate-deps-hash-cleanly
|
- *step-generate-deps-hash-cleanly
|
||||||
- *step-mark-sync-done
|
- *step-mark-sync-done
|
||||||
- *step-minimize-workspace-size-from-checkout
|
- *step-minimize-workspace-size-from-checkout
|
||||||
|
|
||||||
- *step-depot-tools-add-to-path
|
- *step-depot-tools-add-to-path
|
||||||
- *step-setup-env-for-build
|
- *step-setup-env-for-build
|
||||||
- *step-restore-brew-cache
|
- *step-restore-brew-cache
|
||||||
|
@ -1548,7 +1548,7 @@ jobs:
|
||||||
<<: *env-mas
|
<<: *env-mas
|
||||||
<<: *env-release-build
|
<<: *env-release-build
|
||||||
<<: *env-enable-sccache
|
<<: *env-enable-sccache
|
||||||
<<: *env-ninja-status
|
<<: *env-ninja-status
|
||||||
<<: *steps-electron-build
|
<<: *steps-electron-build
|
||||||
|
|
||||||
mas-publish:
|
mas-publish:
|
||||||
|
@ -1814,7 +1814,7 @@ jobs:
|
||||||
workflows:
|
workflows:
|
||||||
version: 2.1
|
version: 2.1
|
||||||
|
|
||||||
# The publish workflows below each contain one job so that they are
|
# The publish workflows below each contain one job so that they are
|
||||||
# compatible with how sudowoodo works today. If these workflows are
|
# compatible with how sudowoodo works today. If these workflows are
|
||||||
# changed to have multiple jobs, then scripts/release/ci-release-build.js
|
# changed to have multiple jobs, then scripts/release/ci-release-build.js
|
||||||
# will need to be updated and there will most likely need to be changes to
|
# will need to be updated and there will most likely need to be changes to
|
||||||
|
@ -1837,13 +1837,13 @@ workflows:
|
||||||
jobs:
|
jobs:
|
||||||
- linux-arm-publish:
|
- linux-arm-publish:
|
||||||
context: release-env
|
context: release-env
|
||||||
|
|
||||||
publish-arm64-linux:
|
publish-arm64-linux:
|
||||||
when: << pipeline.parameters.run-linux-arm64-publish >>
|
when: << pipeline.parameters.run-linux-arm64-publish >>
|
||||||
jobs:
|
jobs:
|
||||||
- linux-arm64-publish:
|
- linux-arm64-publish:
|
||||||
context: release-env
|
context: release-env
|
||||||
|
|
||||||
publish-osx:
|
publish-osx:
|
||||||
when: << pipeline.parameters.run-osx-publish >>
|
when: << pipeline.parameters.run-osx-publish >>
|
||||||
jobs:
|
jobs:
|
||||||
|
|
|
@ -46,7 +46,7 @@ You can avoid much of the wait by reusing Electron CI's build output via
|
||||||
optional steps (listed below) and these two environment variables:
|
optional steps (listed below) and these two environment variables:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
export SCCACHE_BUCKET="electronjs-sccache"
|
export SCCACHE_BUCKET="electronjs-sccache-ci"
|
||||||
export SCCACHE_TWO_TIER=true
|
export SCCACHE_TWO_TIER=true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue