2018-10-20 02:44:36 +03:00
|
|
|
# The config expects the following environment variables to be set:
|
|
|
|
# - "SLACK_WEBHOOK" Slack hook URL to send notifications.
|
|
|
|
#
|
|
|
|
# The publishing scripts expect access tokens to be defined as env vars,
|
|
|
|
# but those are not covered here.
|
|
|
|
#
|
|
|
|
# CircleCI docs on variables:
|
|
|
|
# https://circleci.com/docs/2.0/env-vars/
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
# Build machines configs.
|
2018-09-18 17:55:43 +03:00
|
|
|
docker-image: &docker-image
|
2018-09-15 01:12:30 +03:00
|
|
|
docker:
|
2018-09-25 22:30:22 +03:00
|
|
|
- image: electronbuilds/electron:0.0.9
|
2018-09-18 17:55:43 +03:00
|
|
|
|
2019-01-07 22:59:45 +03:00
|
|
|
machine-linux-medium: &machine-linux-medium
|
|
|
|
<<: *docker-image
|
|
|
|
resource_class: medium
|
2018-09-18 17:55:43 +03:00
|
|
|
|
2019-01-07 22:59:45 +03:00
|
|
|
machine-linux-2xlarge: &machine-linux-2xlarge
|
|
|
|
<<: *docker-image
|
|
|
|
resource_class: 2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2019-01-07 22:59:45 +03:00
|
|
|
machine-mac: &machine-mac
|
|
|
|
macos:
|
2019-03-21 18:45:22 +03:00
|
|
|
xcode: "9.4.1"
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
machine-mac-large: &machine-mac-large
|
|
|
|
resource_class: large
|
|
|
|
macos:
|
2019-03-21 18:45:22 +03:00
|
|
|
xcode: "9.4.1"
|
2019-01-31 20:59:32 +03:00
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
# Build configurations options.
|
|
|
|
env-debug-build: &env-debug-build
|
|
|
|
GN_CONFIG: //electron/build/args/debug.gn
|
|
|
|
|
|
|
|
env-testing-build: &env-testing-build
|
|
|
|
GN_CONFIG: //electron/build/args/testing.gn
|
|
|
|
|
|
|
|
env-release-build: &env-release-build
|
|
|
|
GN_CONFIG: //electron/build/args/release.gn
|
2018-10-11 05:41:48 +03:00
|
|
|
STRIP_BINARIES: true
|
2019-01-31 20:59:32 +03:00
|
|
|
GENERATE_SYMBOLS: true
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-10-05 23:06:52 +03:00
|
|
|
env-headless-testing: &env-headless-testing
|
|
|
|
DISPLAY: ':99.0'
|
|
|
|
|
2018-10-09 02:17:11 +03:00
|
|
|
env-stack-dumping: &env-stack-dumping
|
|
|
|
ELECTRON_ENABLE_STACK_DUMPING: '1'
|
|
|
|
|
2018-09-27 18:29:27 +03:00
|
|
|
env-browsertests: &env-browsertests
|
2018-10-22 23:12:19 +03:00
|
|
|
GN_CONFIG: //electron/build/args/native_tests.gn
|
|
|
|
BUILD_TARGET: electron/spec:chromium_browsertests
|
2018-10-02 01:50:52 +03:00
|
|
|
TESTS_CONFIG: src/electron/spec/configs/browsertests.yml
|
2018-09-27 18:29:27 +03:00
|
|
|
|
|
|
|
env-unittests: &env-unittests
|
2018-10-22 23:12:19 +03:00
|
|
|
GN_CONFIG: //electron/build/args/native_tests.gn
|
|
|
|
BUILD_TARGET: electron/spec:chromium_unittests
|
2018-10-02 01:50:52 +03:00
|
|
|
TESTS_CONFIG: src/electron/spec/configs/unittests.yml
|
2018-09-27 18:29:27 +03:00
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
# Build targets options.
|
|
|
|
env-ia32: &env-ia32
|
|
|
|
GN_EXTRA_ARGS: 'target_cpu = "x86"'
|
|
|
|
NPM_CONFIG_ARCH: ia32
|
2018-09-29 07:13:17 +03:00
|
|
|
TARGET_ARCH: ia32
|
2018-09-15 01:12:30 +03:00
|
|
|
|
|
|
|
env-arm: &env-arm
|
|
|
|
GN_EXTRA_ARGS: 'target_cpu = "arm"'
|
|
|
|
MKSNAPSHOT_TOOLCHAIN: //build/toolchain/linux:clang_arm
|
2018-09-27 17:58:57 +03:00
|
|
|
BUILD_NATIVE_MKSNAPSHOT: 1
|
2018-09-29 08:32:48 +03:00
|
|
|
TARGET_ARCH: arm
|
2018-09-15 01:12:30 +03:00
|
|
|
|
|
|
|
env-arm64: &env-arm64
|
|
|
|
GN_EXTRA_ARGS: 'target_cpu = "arm64" fatal_linker_warnings = false enable_linux_installer = false'
|
|
|
|
MKSNAPSHOT_TOOLCHAIN: //build/toolchain/linux:clang_arm64
|
2018-09-27 17:58:57 +03:00
|
|
|
BUILD_NATIVE_MKSNAPSHOT: 1
|
2018-09-29 08:32:48 +03:00
|
|
|
TARGET_ARCH: arm64
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-09-17 19:44:02 +03:00
|
|
|
env-mas: &env-mas
|
|
|
|
GN_EXTRA_ARGS: 'is_mas_build = true'
|
2019-02-08 21:12:18 +03:00
|
|
|
MAS_BUILD: 'true'
|
2018-09-17 19:44:02 +03:00
|
|
|
|
2018-10-01 23:24:51 +03:00
|
|
|
# Misc build configuration options.
|
|
|
|
env-enable-sccache: &env-enable-sccache
|
|
|
|
USE_SCCACHE: true
|
|
|
|
|
|
|
|
env-send-slack-notifications: &env-send-slack-notifications
|
|
|
|
NOTIFY_SLACK: true
|
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
env-linux-medium: &env-linux-medium
|
|
|
|
NUMBER_OF_NINJA_PROCESSES: 3
|
|
|
|
|
|
|
|
env-linux-2xlarge: &env-linux-2xlarge
|
|
|
|
NUMBER_OF_NINJA_PROCESSES: 18
|
|
|
|
|
|
|
|
env-machine-mac: &env-machine-mac
|
|
|
|
NUMBER_OF_NINJA_PROCESSES: 6
|
|
|
|
|
|
|
|
env-mac-large: &env-mac-large
|
|
|
|
NUMBER_OF_NINJA_PROCESSES: 10
|
|
|
|
|
|
|
|
env-disable-crash-reporter-tests: &env-disable-crash-reporter-tests
|
|
|
|
DISABLE_CRASH_REPORTER_TESTS: true
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
# Individual (shared) steps.
|
|
|
|
step-maybe-notify-slack-failure: &step-maybe-notify-slack-failure
|
2018-07-05 17:59:47 +03:00
|
|
|
run:
|
2018-09-15 01:12:30 +03:00
|
|
|
name: Send a Slack notification on failure
|
2018-07-05 17:59:47 +03:00
|
|
|
command: |
|
2018-09-15 01:12:30 +03:00
|
|
|
if [ "$NOTIFY_SLACK" == "true" ]; then
|
2018-09-25 16:59:39 +03:00
|
|
|
export MESSAGE="Build failed for *<$CIRCLE_BUILD_URL|$CIRCLE_JOB>* nightly build from *$CIRCLE_BRANCH*."
|
2018-07-05 17:59:47 +03:00
|
|
|
curl -g -H "Content-Type: application/json" -X POST \
|
|
|
|
-d "{\"text\": \"$MESSAGE\", \"attachments\": [{\"color\": \"#FC5C3C\",\"title\": \"$CIRCLE_JOB nightly build results\",\"title_link\": \"$CIRCLE_BUILD_URL\"}]}" $SLACK_WEBHOOK
|
|
|
|
fi
|
|
|
|
when: on_fail
|
2018-09-15 01:12:30 +03:00
|
|
|
|
|
|
|
step-maybe-notify-slack-success: &step-maybe-notify-slack-success
|
2018-07-05 17:59:47 +03:00
|
|
|
run:
|
2018-09-15 01:12:30 +03:00
|
|
|
name: Send a Slack notification on success
|
2018-07-05 17:59:47 +03:00
|
|
|
command: |
|
2018-09-15 01:12:30 +03:00
|
|
|
if [ "$NOTIFY_SLACK" == "true" ]; then
|
2018-09-25 16:59:39 +03:00
|
|
|
export MESSAGE="Build succeeded for *<$CIRCLE_BUILD_URL|$CIRCLE_JOB>* nightly build from *$CIRCLE_BRANCH*."
|
2018-07-05 17:59:47 +03:00
|
|
|
curl -g -H "Content-Type: application/json" -X POST \
|
|
|
|
-d "{\"text\": \"$MESSAGE\", \"attachments\": [{\"color\": \"good\",\"title\": \"$CIRCLE_JOB nightly build results\",\"title_link\": \"$CIRCLE_BUILD_URL\"}]}" $SLACK_WEBHOOK
|
|
|
|
fi
|
|
|
|
when: on_success
|
|
|
|
|
2018-09-17 19:44:02 +03:00
|
|
|
step-checkout-electron: &step-checkout-electron
|
|
|
|
checkout:
|
|
|
|
path: src/electron
|
|
|
|
|
|
|
|
step-depot-tools-get: &step-depot-tools-get
|
|
|
|
run:
|
|
|
|
name: Get depot tools
|
|
|
|
command: |
|
|
|
|
git clone --depth=1 https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
|
|
|
|
|
|
|
step-depot-tools-add-to-path: &step-depot-tools-add-to-path
|
2018-09-15 01:12:30 +03:00
|
|
|
run:
|
|
|
|
name: Add depot tools to PATH
|
|
|
|
command: echo 'export PATH="$PATH:'"$PWD"'/depot_tools"' >> $BASH_ENV
|
|
|
|
|
2018-09-17 19:44:02 +03:00
|
|
|
step-gclient-sync: &step-gclient-sync
|
|
|
|
run:
|
|
|
|
name: Gclient sync
|
|
|
|
command: |
|
|
|
|
gclient config \
|
|
|
|
--name "src/electron" \
|
|
|
|
--unmanaged \
|
|
|
|
$GCLIENT_EXTRA_ARGS \
|
|
|
|
"$CIRCLE_REPOSITORY_URL"
|
|
|
|
|
|
|
|
gclient sync --with_branch_heads --with_tags
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
step-setup-env-for-build: &step-setup-env-for-build
|
|
|
|
run:
|
|
|
|
name: Setup Environment Variables
|
|
|
|
command: |
|
|
|
|
# To find `gn` executable.
|
|
|
|
echo 'export CHROMIUM_BUILDTOOLS_PATH="'"$PWD"'/src/buildtools"' >> $BASH_ENV
|
|
|
|
|
2018-10-01 23:24:51 +03:00
|
|
|
if [ "$USE_SCCACHE" == "true" ]; then
|
2018-09-27 17:58:57 +03:00
|
|
|
# https://github.com/mozilla/sccache
|
|
|
|
SCCACHE_PATH="$PWD/src/electron/external_binaries/sccache"
|
|
|
|
echo 'export SCCACHE_PATH="'"$SCCACHE_PATH"'"' >> $BASH_ENV
|
2018-10-05 23:06:52 +03:00
|
|
|
if [ "$CIRCLE_PR_NUMBER" != "" ]; then
|
|
|
|
#if building a fork set readonly access to sccache
|
|
|
|
echo 'export SCCACHE_BUCKET="electronjs-sccache"' >> $BASH_ENV
|
|
|
|
echo 'export SCCACHE_TWO_TIER=true' >> $BASH_ENV
|
|
|
|
fi
|
2018-09-27 17:58:57 +03:00
|
|
|
fi
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2019-02-07 00:16:11 +03:00
|
|
|
step-restore-brew-cache: &step-restore-brew-cache
|
|
|
|
restore_cache:
|
|
|
|
paths:
|
|
|
|
- /usr/local/Homebrew
|
|
|
|
keys:
|
|
|
|
- v1-brew-cache-{{ arch }}
|
|
|
|
|
|
|
|
# On macOS the npm install command during gclient sync was run on a linux
|
|
|
|
# machine and therefore installed a slightly different set of dependencies
|
|
|
|
# Notably "fsevents" is a macOS only dependency, we rerun npm install once
|
|
|
|
# we are on a macOS machine to get the correct state
|
|
|
|
step-install-npm-deps-on-mac: &step-install-npm-deps-on-mac
|
|
|
|
run:
|
|
|
|
name: Install NPM Dependencies on MacOS
|
|
|
|
command: |
|
|
|
|
if [ "`uname`" == "Darwin" ]; then
|
|
|
|
cd src/electron
|
|
|
|
npm install
|
|
|
|
fi
|
|
|
|
|
|
|
|
# This step handles the differences between the linux "gclient sync"
|
|
|
|
# and the expected state on macOS
|
|
|
|
step-fix-sync-on-mac: &step-fix-sync-on-mac
|
|
|
|
run:
|
|
|
|
name: Fix Sync on macOS
|
|
|
|
command: |
|
|
|
|
if [ "`uname`" == "Darwin" ]; then
|
|
|
|
# Fix Clang Install (wrong binary)
|
|
|
|
rm -rf src/third_party/llvm-build
|
|
|
|
python src/tools/clang/scripts/update.py
|
|
|
|
# Fix Framework Header Installs (symlinks not retained)
|
|
|
|
rm -rf src/electron/external_binaries
|
|
|
|
python src/electron/script/update-external-binaries.py
|
|
|
|
fi
|
|
|
|
|
2019-03-30 03:32:52 +03:00
|
|
|
step-install-signing-cert-on-mac: &step-install-signing-cert-on-mac
|
|
|
|
run:
|
|
|
|
name: Import and trust self-signed codesigning cert on MacOS
|
|
|
|
command: |
|
|
|
|
if [ "`uname`" == "Darwin" ]; then
|
|
|
|
cd src/electron
|
|
|
|
./script/codesign/import-testing-cert-ci.sh
|
|
|
|
fi
|
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
step-install-gnutar-on-mac: &step-install-gnutar-on-mac
|
|
|
|
run:
|
|
|
|
name: Install gnu-tar on macos
|
|
|
|
command: |
|
|
|
|
if [ "`uname`" == "Darwin" ]; then
|
|
|
|
brew update
|
|
|
|
brew install gnu-tar
|
|
|
|
ln -fs /usr/local/bin/gtar /usr/local/bin/tar
|
|
|
|
fi
|
|
|
|
|
2018-10-04 18:50:46 +03:00
|
|
|
step-gn-gen-default: &step-gn-gen-default
|
2018-09-15 01:12:30 +03:00
|
|
|
run:
|
2018-10-04 18:50:46 +03:00
|
|
|
name: Default GN gen
|
2018-09-15 01:12:30 +03:00
|
|
|
command: |
|
|
|
|
cd src
|
2018-10-01 23:24:51 +03:00
|
|
|
gn gen out/Default --args='import("'$GN_CONFIG'") cc_wrapper="'"$SCCACHE_PATH"'"'" $GN_EXTRA_ARGS"
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2019-03-05 08:08:55 +03:00
|
|
|
step-gn-check: &step-gn-check
|
|
|
|
run:
|
|
|
|
name: GN check
|
|
|
|
command: |
|
|
|
|
cd src
|
|
|
|
gn check out/Default //electron:electron_lib
|
|
|
|
gn check out/Default //electron:electron_app
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
step-electron-build: &step-electron-build
|
|
|
|
run:
|
|
|
|
name: Electron build
|
2019-01-22 19:45:57 +03:00
|
|
|
no_output_timeout: 30m
|
2018-09-15 01:12:30 +03:00
|
|
|
command: |
|
|
|
|
cd src
|
2019-01-31 20:59:32 +03:00
|
|
|
ninja -C out/Default electron -j $NUMBER_OF_NINJA_PROCESSES
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-10-11 05:41:48 +03:00
|
|
|
step-maybe-electron-dist-strip: &step-maybe-electron-dist-strip
|
2018-10-09 23:19:05 +03:00
|
|
|
run:
|
|
|
|
name: Strip electron binaries
|
|
|
|
command: |
|
2019-01-31 20:59:32 +03:00
|
|
|
if [ "$STRIP_BINARIES" == "true" ] && [ "`uname`" != "Darwin" ]; then
|
2018-10-11 05:41:48 +03:00
|
|
|
cd src
|
|
|
|
electron/script/strip-binaries.py --target-cpu="$TARGET_ARCH"
|
|
|
|
fi
|
2018-10-09 23:19:05 +03:00
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
step-electron-dist-build: &step-electron-dist-build
|
|
|
|
run:
|
|
|
|
name: Build dist.zip
|
|
|
|
command: |
|
|
|
|
cd src
|
2019-01-07 22:59:45 +03:00
|
|
|
ninja -C out/Default electron:electron_dist_zip
|
2018-09-15 01:12:30 +03:00
|
|
|
|
|
|
|
step-electron-dist-store: &step-electron-dist-store
|
|
|
|
store_artifacts:
|
|
|
|
path: src/out/Default/dist.zip
|
|
|
|
destination: dist.zip
|
|
|
|
|
2018-09-20 01:42:42 +03:00
|
|
|
step-electron-chromedriver-build: &step-electron-chromedriver-build
|
|
|
|
run:
|
|
|
|
name: Build chromedriver.zip
|
|
|
|
command: |
|
|
|
|
cd src
|
2019-01-31 20:59:32 +03:00
|
|
|
ninja -C out/Default chrome/test/chromedriver -j $NUMBER_OF_NINJA_PROCESSES
|
2018-10-09 23:19:05 +03:00
|
|
|
electron/script/strip-binaries.py --target-cpu="$TARGET_ARCH" --file $PWD/out/Default/chromedriver
|
2019-01-07 22:59:45 +03:00
|
|
|
ninja -C out/Default electron:electron_chromedriver_zip
|
2018-09-20 01:42:42 +03:00
|
|
|
|
|
|
|
step-electron-chromedriver-store: &step-electron-chromedriver-store
|
|
|
|
store_artifacts:
|
|
|
|
path: src/out/Default/chromedriver.zip
|
|
|
|
destination: chromedriver.zip
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
step-nodejs-headers-build: &step-nodejs-headers-build
|
|
|
|
run:
|
|
|
|
name: Build Node.js headers
|
|
|
|
command: |
|
|
|
|
cd src
|
2019-01-07 22:59:45 +03:00
|
|
|
ninja -C out/Default third_party/electron_node:headers
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-10-04 19:01:16 +03:00
|
|
|
step-nodejs-headers-store: &step-nodejs-headers-store
|
|
|
|
store_artifacts:
|
|
|
|
path: src/out/Default/gen/node_headers.tar.gz
|
|
|
|
destination: node_headers.tar.gz
|
|
|
|
|
2018-09-29 05:33:56 +03:00
|
|
|
step-electron-publish: &step-electron-publish
|
|
|
|
run:
|
|
|
|
name: Publish Electron Dist
|
|
|
|
command: |
|
|
|
|
cd src/electron
|
2018-10-01 23:24:51 +03:00
|
|
|
if [ "$UPLOAD_TO_S3" == "1" ]; then
|
|
|
|
echo 'Uploading Electron release distribution to S3'
|
|
|
|
script/upload.py --upload_to_s3
|
|
|
|
else
|
|
|
|
echo 'Uploading Electron release distribution to Github releases'
|
|
|
|
script/upload.py
|
2018-09-29 05:33:56 +03:00
|
|
|
fi
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
step-persist-data-for-tests: &step-persist-data-for-tests
|
|
|
|
persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
# Build artifacts
|
|
|
|
- src/out/Default/dist.zip
|
2018-11-09 17:54:17 +03:00
|
|
|
- src/out/Default/mksnapshot.zip
|
2018-09-15 01:12:30 +03:00
|
|
|
- src/out/Default/gen/node_headers
|
2019-01-31 20:59:32 +03:00
|
|
|
- src/out/ffmpeg/ffmpeg.zip
|
2018-09-15 01:12:30 +03:00
|
|
|
|
|
|
|
step-electron-dist-unzip: &step-electron-dist-unzip
|
|
|
|
run:
|
|
|
|
name: Unzip dist.zip
|
|
|
|
command: |
|
|
|
|
cd src/out/Default
|
|
|
|
# -o overwrite files WITHOUT prompting
|
|
|
|
# TODO(alexeykuzmin): Remove '-o' when it's no longer needed.
|
|
|
|
unzip -o dist.zip
|
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
step-ffmpeg-unzip: &step-ffmpeg-unzip
|
|
|
|
run:
|
|
|
|
name: Unzip ffmpeg.zip
|
|
|
|
command: |
|
|
|
|
cd src/out/ffmpeg
|
|
|
|
unzip -o ffmpeg.zip
|
|
|
|
|
2018-11-09 17:54:17 +03:00
|
|
|
step-mksnapshot-unzip: &step-mksnapshot-unzip
|
|
|
|
run:
|
|
|
|
name: Unzip mksnapshot.zip
|
|
|
|
command: |
|
|
|
|
cd src/out/Default
|
|
|
|
unzip -o mksnapshot.zip
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
step-ffmpeg-gn-gen: &step-ffmpeg-gn-gen
|
|
|
|
run:
|
|
|
|
name: ffmpeg GN gen
|
|
|
|
command: |
|
|
|
|
cd src
|
2018-10-01 23:24:51 +03:00
|
|
|
gn gen out/ffmpeg --args='import("//electron/build/args/ffmpeg.gn") cc_wrapper="'"$SCCACHE_PATH"'"'" $GN_EXTRA_ARGS"
|
2018-09-15 01:12:30 +03:00
|
|
|
|
|
|
|
step-ffmpeg-build: &step-ffmpeg-build
|
|
|
|
run:
|
|
|
|
name: Non proprietary ffmpeg build
|
|
|
|
command: |
|
|
|
|
cd src
|
2019-01-31 20:59:32 +03:00
|
|
|
ninja -C out/ffmpeg electron:electron_ffmpeg_zip -j $NUMBER_OF_NINJA_PROCESSES
|
2018-09-15 01:12:30 +03:00
|
|
|
|
|
|
|
step-verify-ffmpeg: &step-verify-ffmpeg
|
|
|
|
run:
|
|
|
|
name: Verify ffmpeg
|
|
|
|
command: |
|
|
|
|
cd src
|
|
|
|
python electron/script/verify-ffmpeg.py --source-root "$PWD" --build-dir out/Default --ffmpeg-path out/ffmpeg
|
|
|
|
|
2018-09-27 17:58:57 +03:00
|
|
|
step-ffmpeg-store: &step-ffmpeg-store
|
2018-09-27 18:05:11 +03:00
|
|
|
store_artifacts:
|
|
|
|
path: src/out/ffmpeg/ffmpeg.zip
|
|
|
|
destination: ffmpeg.zip
|
2018-09-27 17:58:57 +03:00
|
|
|
|
2018-11-09 17:54:17 +03:00
|
|
|
step-verify-mksnapshot: &step-verify-mksnapshot
|
|
|
|
run:
|
|
|
|
name: Verify mksnapshot
|
|
|
|
command: |
|
|
|
|
cd src
|
|
|
|
python electron/script/verify-mksnapshot.py --source-root "$PWD" --build-dir out/Default
|
|
|
|
|
2018-09-21 12:43:28 +03:00
|
|
|
step-setup-linux-for-headless-testing: &step-setup-linux-for-headless-testing
|
2018-09-15 01:12:30 +03:00
|
|
|
run:
|
|
|
|
name: Setup for headless testing
|
2018-09-17 19:44:02 +03:00
|
|
|
command: |
|
2018-09-21 12:43:28 +03:00
|
|
|
if [ "`uname`" != "Darwin" ]; then
|
|
|
|
sh -e /etc/init.d/xvfb start
|
|
|
|
fi
|
2018-09-15 01:12:30 +03:00
|
|
|
|
|
|
|
step-show-sccache-stats: &step-show-sccache-stats
|
|
|
|
run:
|
|
|
|
name: Check sccache stats after build
|
2018-10-01 23:24:51 +03:00
|
|
|
command: |
|
|
|
|
if [ "$SCCACHE_PATH" != "" ]; then
|
|
|
|
$SCCACHE_PATH -s
|
|
|
|
fi
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-09-25 04:48:49 +03:00
|
|
|
step-mksnapshot-build: &step-mksnapshot-build
|
|
|
|
run:
|
|
|
|
name: mksnapshot build
|
|
|
|
command: |
|
|
|
|
cd src
|
2018-10-09 23:19:05 +03:00
|
|
|
if [ "`uname`" != "Darwin" ]; then
|
|
|
|
if [ "$TARGET_ARCH" == "arm" ]; then
|
|
|
|
electron/script/strip-binaries.py --file $PWD/out/Default/clang_x86_v8_arm/mksnapshot
|
|
|
|
elif [ "$TARGET_ARCH" == "arm64" ]; then
|
|
|
|
electron/script/strip-binaries.py --file $PWD/out/Default/clang_x64_v8_arm64/mksnapshot
|
|
|
|
else
|
|
|
|
electron/script/strip-binaries.py --file $PWD/out/Default/mksnapshot
|
|
|
|
fi
|
|
|
|
fi
|
2019-01-31 20:59:32 +03:00
|
|
|
ninja -C out/Default electron:electron_mksnapshot_zip -j $NUMBER_OF_NINJA_PROCESSES
|
2018-09-25 04:48:49 +03:00
|
|
|
|
|
|
|
step-mksnapshot-store: &step-mksnapshot-store
|
|
|
|
store_artifacts:
|
|
|
|
path: src/out/Default/mksnapshot.zip
|
|
|
|
destination: mksnapshot.zip
|
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
step-maybe-build-dump-syms: &step-maybe-build-dump-syms
|
2018-09-26 21:56:05 +03:00
|
|
|
run:
|
2018-10-13 05:02:52 +03:00
|
|
|
name: Build dump_syms binary
|
2018-09-26 21:56:05 +03:00
|
|
|
command: |
|
2019-01-31 20:59:32 +03:00
|
|
|
if [ "$GENERATE_SYMBOLS" == "true" ]; then
|
|
|
|
cd src
|
|
|
|
# Build needed dump_syms executable
|
|
|
|
ninja -C out/Default third_party/breakpad:dump_syms
|
|
|
|
fi
|
2018-10-06 02:55:06 +03:00
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
step-maybe-generate-breakpad-symbols: &step-maybe-generate-breakpad-symbols
|
2018-10-13 05:02:52 +03:00
|
|
|
run:
|
|
|
|
name: Generate breakpad symbols
|
|
|
|
command: |
|
2019-01-31 20:59:32 +03:00
|
|
|
if [ "$GENERATE_SYMBOLS" == "true" ]; then
|
|
|
|
cd src
|
|
|
|
export BUILD_PATH="$PWD/out/Default"
|
|
|
|
export DEST_PATH="$BUILD_PATH/breakpad_symbols"
|
|
|
|
electron/script/dump-symbols.py -b $BUILD_PATH -d $DEST_PATH -v
|
|
|
|
fi
|
2018-10-13 05:02:52 +03:00
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
step-maybe-zip-symbols: &step-maybe-zip-symbols
|
2018-10-13 05:02:52 +03:00
|
|
|
run:
|
|
|
|
name: Zip symbols
|
|
|
|
command: |
|
|
|
|
cd src
|
|
|
|
export BUILD_PATH="$PWD/out/Default"
|
|
|
|
electron/script/zip-symbols.py -b $BUILD_PATH
|
2018-09-27 17:58:57 +03:00
|
|
|
|
2019-03-28 18:05:43 +03:00
|
|
|
step-maybe-cross-arch-snapshot: &step-maybe-cross-arch-snapshot
|
2018-09-27 17:58:57 +03:00
|
|
|
run:
|
2019-03-28 18:05:43 +03:00
|
|
|
name: Generate cross arch snapshot (arm/arm64)
|
2018-09-27 17:58:57 +03:00
|
|
|
command: |
|
2019-03-28 18:05:43 +03:00
|
|
|
if [ "$TRIGGER_ARM_TEST" == "true" ] && [ -z "$CIRCLE_PR_NUMBER" ]; then
|
2018-10-09 23:19:05 +03:00
|
|
|
cd src
|
2019-03-28 18:05:43 +03:00
|
|
|
if [ "$TARGET_ARCH" == "arm" ]; then
|
|
|
|
export MKSNAPSHOT_PATH="clang_x86_v8_arm"
|
|
|
|
elif [ "$TARGET_ARCH" == "arm64" ]; then
|
|
|
|
export MKSNAPSHOT_PATH="clang_x64_v8_arm64"
|
|
|
|
fi
|
|
|
|
cp "out/Default/$MKSNAPSHOT_PATH/mksnapshot" out/Default
|
|
|
|
cp "out/Default/$MKSNAPSHOT_PATH/libffmpeg.so" out/Default
|
|
|
|
cp "out/Default/$MKSNAPSHOT_PATH/v8_context_snapshot_generator" out/Default
|
|
|
|
python electron/script/verify-mksnapshot.py --source-root "$PWD" --build-dir out/Default --create-snapshot-only
|
|
|
|
mkdir cross-arch-snapshots
|
|
|
|
cp out/Default-mksnapshot-test/*.bin cross-arch-snapshots
|
2018-10-09 23:19:05 +03:00
|
|
|
fi
|
|
|
|
|
2019-03-28 18:05:43 +03:00
|
|
|
step-maybe-cross-arch-snapshot-store: &step-maybe-cross-arch-snapshot-store
|
2018-09-27 17:58:57 +03:00
|
|
|
store_artifacts:
|
2019-03-28 18:05:43 +03:00
|
|
|
path: src/cross-arch-snapshots
|
|
|
|
destination: cross-arch-snapshots
|
2018-09-26 21:56:05 +03:00
|
|
|
|
2018-10-04 19:01:16 +03:00
|
|
|
step-maybe-trigger-arm-test: &step-maybe-trigger-arm-test
|
|
|
|
run:
|
|
|
|
name: Trigger an arm test on VSTS if applicable
|
|
|
|
command: |
|
|
|
|
cd src
|
|
|
|
# Only run for non-fork prs
|
|
|
|
if [ "$TRIGGER_ARM_TEST" == "true" ] && [ -z "$CIRCLE_PR_NUMBER" ]; then
|
|
|
|
#Trigger VSTS job, passing along CircleCI job number and branch to build
|
|
|
|
echo "Triggering electron-$TARGET_ARCH-testing build on VSTS"
|
|
|
|
node electron/script/ci-release-build.js --job=electron-$TARGET_ARCH-testing --ci=VSTS --armTest --circleBuildNum=$CIRCLE_BUILD_NUM $CIRCLE_BRANCH
|
|
|
|
fi
|
2019-01-31 20:59:32 +03:00
|
|
|
|
|
|
|
step-maybe-generate-typescript-defs: &step-maybe-generate-typescript-defs
|
|
|
|
run:
|
|
|
|
name: Generate type declarations
|
|
|
|
command: |
|
|
|
|
if [ "`uname`" == "Darwin" ]; then
|
|
|
|
cd src/electron
|
|
|
|
npm run create-typescript-definitions
|
|
|
|
fi
|
|
|
|
|
2019-03-20 05:37:52 +03:00
|
|
|
step-fix-known-hosts-linux: &step-fix-known-hosts-linux
|
|
|
|
run:
|
|
|
|
name: Fix Known Hosts on Linux
|
|
|
|
command: |
|
|
|
|
if [ "`uname`" == "Linux" ]; then
|
|
|
|
./src/electron/.circleci/fix-known-hosts.sh
|
|
|
|
fi
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
# Lists of steps.
|
2019-02-06 23:53:25 +03:00
|
|
|
steps-lint: &steps-lint
|
|
|
|
steps:
|
|
|
|
- *step-checkout-electron
|
|
|
|
- run:
|
|
|
|
name: Setup third_party Depot Tools
|
|
|
|
command: |
|
|
|
|
# "depot_tools" has to be checkout into "//third_party/depot_tools" so pylint.py can a "pylintrc" file.
|
|
|
|
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git src/third_party/depot_tools
|
|
|
|
echo 'export PATH="$PATH:'"$PWD"'/src/third_party/depot_tools"' >> $BASH_ENV
|
|
|
|
- run:
|
|
|
|
name: Download GN Binary
|
|
|
|
command: |
|
|
|
|
chromium_revision="$(grep -A1 chromium_version src/electron/DEPS | tr -d '\n' | cut -d\' -f4)"
|
2019-03-22 02:35:29 +03:00
|
|
|
gn_version="$(curl -sL "https://chromium.googlesource.com/chromium/src/+/${chromium_revision}/DEPS?format=TEXT" | base64 -d | grep gn_version | head -n1 | cut -d\' -f4)"
|
2019-02-06 23:53:25 +03:00
|
|
|
|
2019-02-27 15:27:23 +03:00
|
|
|
mkdir -p "buildtools/linux64"
|
2019-03-22 02:35:29 +03:00
|
|
|
cipd ensure -ensure-file - -root . <<-CIPD
|
2019-03-22 02:41:30 +03:00
|
|
|
\$ServiceURL https://chrome-infra-packages.appspot.com/
|
2019-03-22 02:35:29 +03:00
|
|
|
@Subdir buildtools/linux64
|
|
|
|
gn/gn/linux-amd64 $GN_VERSION
|
|
|
|
CIPD
|
2019-02-06 23:53:25 +03:00
|
|
|
|
2019-03-22 02:35:29 +03:00
|
|
|
echo 'export CHROMIUM_BUILDTOOLS_PATH="'"$PWD"'/buildtools"' >> $BASH_ENV
|
2019-02-06 23:53:25 +03:00
|
|
|
- run:
|
|
|
|
name: Run Lint
|
|
|
|
command: |
|
|
|
|
# gn.py tries to find a gclient root folder starting from the current dir.
|
|
|
|
# When it fails and returns "None" path, the whole script fails. Let's "fix" it.
|
|
|
|
touch .gclient
|
|
|
|
# Another option would be to checkout "buildtools" inside the Electron checkout,
|
|
|
|
# but then we would lint its contents (at least gn format), and it doesn't pass it.
|
|
|
|
|
|
|
|
cd src/electron
|
|
|
|
npm install
|
|
|
|
npm run lint
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
steps-checkout: &steps-checkout
|
2018-07-31 21:18:36 +03:00
|
|
|
steps:
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-checkout-electron
|
|
|
|
- *step-depot-tools-get
|
|
|
|
- *step-depot-tools-add-to-path
|
2019-02-07 00:16:11 +03:00
|
|
|
- *step-restore-brew-cache
|
2019-01-31 20:59:32 +03:00
|
|
|
- *step-install-gnutar-on-mac
|
2018-09-17 19:44:02 +03:00
|
|
|
|
2018-07-31 21:18:36 +03:00
|
|
|
- restore_cache:
|
|
|
|
paths:
|
|
|
|
- ~/.gclient-cache
|
|
|
|
keys:
|
|
|
|
- v1-gclient-cache-{{ arch }}-{{ checksum "src/electron/DEPS" }}
|
|
|
|
- v1-gclient-cache-{{ arch }}-
|
|
|
|
- run:
|
2018-09-17 19:44:02 +03:00
|
|
|
name: Set GIT_CACHE_PATH to make gclient to use the cache
|
2018-07-31 21:18:36 +03:00
|
|
|
command: |
|
2018-09-15 01:12:30 +03:00
|
|
|
# CircleCI does not support interpolation when setting environment variables.
|
|
|
|
# https://circleci.com/docs/2.0/env-vars/#setting-an-environment-variable-in-a-shell-command
|
|
|
|
echo 'export GIT_CACHE_PATH="$HOME/.gclient-cache"' >> $BASH_ENV
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-gclient-sync
|
2018-07-31 21:18:36 +03:00
|
|
|
- save_cache:
|
|
|
|
paths:
|
|
|
|
- ~/.gclient-cache
|
|
|
|
key: v1-gclient-cache-{{ arch }}-{{ checksum "src/electron/DEPS" }}
|
2019-02-07 00:16:11 +03:00
|
|
|
- save_cache:
|
|
|
|
paths:
|
|
|
|
- /usr/local/Homebrew
|
|
|
|
key: v1-brew-cache-{{ arch }}
|
2018-09-17 19:44:02 +03:00
|
|
|
|
2018-07-31 21:18:36 +03:00
|
|
|
- run:
|
2018-09-15 01:12:30 +03:00
|
|
|
name: Remove some unused data to avoid storing it in the workspace
|
2018-07-31 21:18:36 +03:00
|
|
|
command: |
|
2018-09-15 01:12:30 +03:00
|
|
|
rm -rf src/android_webview
|
|
|
|
rm -rf src/ios
|
|
|
|
rm -rf src/third_party/WebKit/LayoutTests
|
|
|
|
- persist_to_workspace:
|
|
|
|
root: .
|
|
|
|
paths:
|
|
|
|
- depot_tools
|
|
|
|
- src
|
|
|
|
|
2019-03-05 08:08:55 +03:00
|
|
|
steps-electron-gn-check: &steps-electron-gn-check
|
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
|
|
|
- *step-depot-tools-add-to-path
|
|
|
|
- *step-setup-env-for-build
|
|
|
|
- *step-gn-gen-default
|
|
|
|
- *step-gn-check
|
|
|
|
|
2018-09-21 12:43:28 +03:00
|
|
|
steps-electron-build: &steps-electron-build
|
2018-09-15 01:12:30 +03:00
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-depot-tools-add-to-path
|
|
|
|
- *step-setup-env-for-build
|
2018-10-04 18:50:46 +03:00
|
|
|
- *step-gn-gen-default
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-10-05 18:11:51 +03:00
|
|
|
# Electron app
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-electron-build
|
2018-10-05 18:11:51 +03:00
|
|
|
- *step-electron-dist-build
|
|
|
|
- *step-electron-dist-store
|
|
|
|
|
|
|
|
# Node.js headers
|
|
|
|
- *step-nodejs-headers-build
|
2018-10-09 23:19:05 +03:00
|
|
|
- *step-nodejs-headers-store
|
2018-10-05 18:11:51 +03:00
|
|
|
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-show-sccache-stats
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-09-21 12:43:28 +03:00
|
|
|
steps-electron-build-for-tests: &steps-electron-build-for-tests
|
2018-09-15 01:12:30 +03:00
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-depot-tools-add-to-path
|
|
|
|
- *step-setup-env-for-build
|
2019-02-07 00:16:11 +03:00
|
|
|
- *step-restore-brew-cache
|
|
|
|
- *step-install-npm-deps-on-mac
|
|
|
|
- *step-fix-sync-on-mac
|
2018-10-04 18:50:46 +03:00
|
|
|
- *step-gn-gen-default
|
2018-09-15 01:12:30 +03:00
|
|
|
|
|
|
|
# Electron app
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-electron-build
|
2018-10-11 05:41:48 +03:00
|
|
|
- *step-maybe-electron-dist-strip
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-electron-dist-build
|
|
|
|
- *step-electron-dist-store
|
2018-09-15 01:12:30 +03:00
|
|
|
|
|
|
|
# Node.js headers
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-nodejs-headers-build
|
2018-10-04 19:01:16 +03:00
|
|
|
- *step-nodejs-headers-store
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-show-sccache-stats
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-11-09 17:54:17 +03:00
|
|
|
# mksnapshot
|
|
|
|
- *step-mksnapshot-build
|
|
|
|
- *step-mksnapshot-store
|
2019-03-28 18:05:43 +03:00
|
|
|
- *step-maybe-cross-arch-snapshot
|
|
|
|
- *step-maybe-cross-arch-snapshot-store
|
2018-11-30 19:17:01 +03:00
|
|
|
|
|
|
|
# ffmpeg
|
|
|
|
- *step-ffmpeg-gn-gen
|
|
|
|
- *step-ffmpeg-build
|
|
|
|
- *step-ffmpeg-store
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
# Save all data needed for a further tests run.
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-persist-data-for-tests
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
- *step-maybe-build-dump-syms
|
|
|
|
- *step-maybe-generate-breakpad-symbols
|
|
|
|
- *step-maybe-zip-symbols
|
2018-10-06 02:55:06 +03:00
|
|
|
|
2018-10-04 19:01:16 +03:00
|
|
|
# Trigger tests on arm hardware if needed
|
|
|
|
- *step-maybe-trigger-arm-test
|
|
|
|
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-maybe-notify-slack-failure
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-09-27 17:58:57 +03:00
|
|
|
steps-electron-build-for-publish: &steps-electron-build-for-publish
|
|
|
|
steps:
|
|
|
|
- *step-checkout-electron
|
|
|
|
- *step-depot-tools-get
|
|
|
|
- *step-depot-tools-add-to-path
|
2019-02-07 00:16:11 +03:00
|
|
|
- *step-restore-brew-cache
|
2018-09-27 17:58:57 +03:00
|
|
|
- *step-gclient-sync
|
|
|
|
- *step-setup-env-for-build
|
2018-10-04 18:50:46 +03:00
|
|
|
- *step-gn-gen-default
|
2018-09-27 17:58:57 +03:00
|
|
|
|
|
|
|
# Electron app
|
|
|
|
- *step-electron-build
|
2018-10-11 05:41:48 +03:00
|
|
|
- *step-maybe-electron-dist-strip
|
2018-09-27 17:58:57 +03:00
|
|
|
- *step-electron-dist-build
|
|
|
|
- *step-electron-dist-store
|
2019-01-31 20:59:32 +03:00
|
|
|
- *step-maybe-build-dump-syms
|
|
|
|
- *step-maybe-generate-breakpad-symbols
|
|
|
|
- *step-maybe-zip-symbols
|
2018-09-27 17:58:57 +03:00
|
|
|
|
|
|
|
# mksnapshot
|
|
|
|
- *step-mksnapshot-build
|
|
|
|
- *step-mksnapshot-store
|
|
|
|
|
|
|
|
# chromedriver
|
|
|
|
- *step-electron-chromedriver-build
|
|
|
|
- *step-electron-chromedriver-store
|
|
|
|
|
|
|
|
# Node.js headers
|
|
|
|
- *step-nodejs-headers-build
|
2018-10-04 19:01:16 +03:00
|
|
|
- *step-nodejs-headers-store
|
2018-09-27 17:58:57 +03:00
|
|
|
|
2018-09-29 07:26:58 +03:00
|
|
|
# ffmpeg
|
|
|
|
- *step-ffmpeg-gn-gen
|
|
|
|
- *step-ffmpeg-build
|
2018-10-01 23:24:51 +03:00
|
|
|
- *step-ffmpeg-store
|
2018-09-29 07:26:58 +03:00
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
# typescript defs
|
|
|
|
- *step-maybe-generate-typescript-defs
|
|
|
|
|
2018-09-29 05:33:56 +03:00
|
|
|
# Publish
|
|
|
|
- *step-electron-publish
|
|
|
|
|
2018-10-04 18:50:46 +03:00
|
|
|
steps-chromedriver-build: &steps-chromedriver-build
|
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
|
|
|
- *step-depot-tools-add-to-path
|
|
|
|
- *step-setup-env-for-build
|
2019-02-12 13:44:52 +03:00
|
|
|
- *step-fix-sync-on-mac
|
2018-10-04 18:50:46 +03:00
|
|
|
- *step-gn-gen-default
|
|
|
|
|
|
|
|
- *step-electron-chromedriver-build
|
|
|
|
- *step-electron-chromedriver-store
|
|
|
|
|
2018-10-06 02:15:38 +03:00
|
|
|
- *step-maybe-notify-slack-failure
|
|
|
|
|
2018-09-18 13:55:46 +03:00
|
|
|
steps-native-tests: &steps-native-tests
|
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-depot-tools-add-to-path
|
|
|
|
- *step-setup-env-for-build
|
2018-10-04 18:50:46 +03:00
|
|
|
- *step-gn-gen-default
|
2018-09-27 18:29:27 +03:00
|
|
|
|
2018-09-24 16:44:18 +03:00
|
|
|
- run:
|
2018-09-27 18:29:27 +03:00
|
|
|
name: Build tests
|
2018-09-24 16:44:18 +03:00
|
|
|
command: |
|
|
|
|
cd src
|
2019-01-07 22:59:45 +03:00
|
|
|
ninja -C out/Default $BUILD_TARGET
|
2018-09-27 18:29:27 +03:00
|
|
|
- *step-show-sccache-stats
|
|
|
|
|
|
|
|
- *step-setup-linux-for-headless-testing
|
2018-09-24 16:44:18 +03:00
|
|
|
- run:
|
2018-09-27 18:29:27 +03:00
|
|
|
name: Run tests
|
2018-09-24 16:44:18 +03:00
|
|
|
command: |
|
2018-09-27 18:29:27 +03:00
|
|
|
mkdir test_results
|
|
|
|
python src/electron/script/native-tests.py run \
|
|
|
|
--config $TESTS_CONFIG \
|
|
|
|
--tests-dir src/out/Default \
|
2018-10-22 23:12:19 +03:00
|
|
|
--output-dir test_results \
|
|
|
|
$TESTS_ARGS
|
2018-09-27 18:29:27 +03:00
|
|
|
|
2018-09-24 16:44:18 +03:00
|
|
|
- store_artifacts:
|
2018-09-27 18:29:27 +03:00
|
|
|
path: test_results
|
|
|
|
destination: test_results # Put it in the root folder.
|
2018-09-24 16:44:18 +03:00
|
|
|
- store_test_results:
|
2018-09-27 18:29:27 +03:00
|
|
|
path: test_results
|
2018-09-18 13:55:46 +03:00
|
|
|
|
2018-09-19 15:53:22 +03:00
|
|
|
steps-verify-ffmpeg: &steps-verify-ffmpeg
|
2018-09-15 01:12:30 +03:00
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-depot-tools-add-to-path
|
|
|
|
- *step-electron-dist-unzip
|
2019-01-31 20:59:32 +03:00
|
|
|
- *step-ffmpeg-unzip
|
2018-09-21 12:43:28 +03:00
|
|
|
- *step-setup-linux-for-headless-testing
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-09-20 02:02:12 +03:00
|
|
|
- *step-verify-ffmpeg
|
2018-10-06 02:15:38 +03:00
|
|
|
- *step-maybe-notify-slack-failure
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-11-09 17:54:17 +03:00
|
|
|
steps-verify-mksnapshot: &steps-verify-mksnapshot
|
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
|
|
|
- *step-depot-tools-add-to-path
|
|
|
|
- *step-electron-dist-unzip
|
|
|
|
- *step-mksnapshot-unzip
|
|
|
|
- *step-setup-linux-for-headless-testing
|
|
|
|
|
|
|
|
- *step-verify-mksnapshot
|
|
|
|
- *step-maybe-notify-slack-failure
|
|
|
|
|
2018-09-19 15:53:22 +03:00
|
|
|
steps-tests: &steps-tests
|
|
|
|
steps:
|
|
|
|
- attach_workspace:
|
|
|
|
at: .
|
|
|
|
- *step-depot-tools-add-to-path
|
|
|
|
- *step-electron-dist-unzip
|
2018-11-09 17:54:17 +03:00
|
|
|
- *step-mksnapshot-unzip
|
2018-09-21 12:43:28 +03:00
|
|
|
- *step-setup-linux-for-headless-testing
|
2019-02-07 00:16:11 +03:00
|
|
|
- *step-restore-brew-cache
|
2019-03-20 05:37:52 +03:00
|
|
|
- *step-fix-known-hosts-linux
|
2019-03-30 03:32:52 +03:00
|
|
|
- *step-install-signing-cert-on-mac
|
2018-09-19 15:53:22 +03:00
|
|
|
|
2018-09-21 12:43:28 +03:00
|
|
|
- run:
|
|
|
|
name: Run Electron tests
|
|
|
|
environment:
|
|
|
|
MOCHA_REPORTER: mocha-multi-reporters
|
|
|
|
MOCHA_FILE: junit/test-results.xml
|
|
|
|
MOCHA_MULTI_REPORTERS: mocha-junit-reporter, tap
|
|
|
|
ELECTRON_DISABLE_SECURITY_WARNINGS: 1
|
|
|
|
command: |
|
|
|
|
cd src
|
|
|
|
export ELECTRON_OUT_DIR=Default
|
2019-01-23 22:28:34 +03:00
|
|
|
(cd electron && npm run test -- --ci --enable-logging)
|
2018-10-01 17:59:55 +03:00
|
|
|
- run:
|
|
|
|
name: Check test results existence
|
|
|
|
command: |
|
2019-03-11 01:38:44 +03:00
|
|
|
MOCHA_FILE='src/junit/test-results-remote.xml'
|
|
|
|
# Check if it exists and not empty.
|
|
|
|
if [ ! -s "$MOCHA_FILE" ]; then
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
MOCHA_FILE='src/junit/test-results-main.xml'
|
2018-10-01 17:59:55 +03:00
|
|
|
# Check if it exists and not empty.
|
|
|
|
if [ ! -s "$MOCHA_FILE" ]; then
|
|
|
|
exit 1
|
|
|
|
fi
|
2018-09-21 12:43:28 +03:00
|
|
|
- store_test_results:
|
|
|
|
path: src/junit
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-11-09 17:54:17 +03:00
|
|
|
- *step-verify-mksnapshot
|
|
|
|
|
2018-10-06 02:15:38 +03:00
|
|
|
- *step-maybe-notify-slack-failure
|
|
|
|
|
2018-10-04 18:50:46 +03:00
|
|
|
chromium-upgrade-branches: &chromium-upgrade-branches
|
|
|
|
/chromium\-upgrade\/[0-9]+/
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
# List of all jobs.
|
2019-01-07 22:59:45 +03:00
|
|
|
version: 2
|
2017-09-13 16:48:19 +03:00
|
|
|
jobs:
|
2019-02-06 23:53:25 +03:00
|
|
|
# Layer 0: Lint. Standalone.
|
|
|
|
lint:
|
|
|
|
<<: *machine-linux-medium
|
|
|
|
environment:
|
|
|
|
<<: *env-linux-medium
|
|
|
|
<<: *steps-lint
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
# Layer 1: Checkout.
|
|
|
|
linux-checkout:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-08-17 02:28:01 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-10-03 22:05:05 +03:00
|
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm=True --custom-var=checkout_arm64=True'
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *steps-checkout
|
2018-07-11 21:01:15 +03:00
|
|
|
|
2018-11-05 18:19:00 +03:00
|
|
|
linux-checkout-for-native-tests:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-11-05 18:19:00 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-11-05 18:19:00 +03:00
|
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_pyyaml=True'
|
2018-10-04 18:50:46 +03:00
|
|
|
<<: *steps-checkout
|
|
|
|
|
2018-11-05 18:19:00 +03:00
|
|
|
linux-checkout-for-native-tests-with-no-patches:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-10-22 23:12:19 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-11-05 18:19:00 +03:00
|
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=apply_patches=False --custom-var=checkout_pyyaml=True'
|
2018-10-22 23:12:19 +03:00
|
|
|
<<: *steps-checkout
|
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
mac-checkout:
|
2019-02-07 00:16:11 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2019-01-31 20:59:32 +03:00
|
|
|
environment:
|
2019-02-07 00:16:11 +03:00
|
|
|
<<: *env-linux-2xlarge
|
|
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_mac=True --custom-var=host_os=mac'
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *steps-checkout
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
# Layer 2: Builds.
|
|
|
|
linux-x64-debug:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-07-31 21:18:36 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-debug-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
2018-09-21 12:43:28 +03:00
|
|
|
<<: *steps-electron-build
|
2018-04-09 22:19:54 +03:00
|
|
|
|
2019-03-05 08:08:55 +03:00
|
|
|
linux-x64-debug-gn-check:
|
|
|
|
<<: *machine-linux-medium
|
|
|
|
environment:
|
|
|
|
<<: *env-linux-medium
|
|
|
|
<<: *env-debug-build
|
|
|
|
<<: *steps-electron-gn-check
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
linux-x64-testing:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-08-01 02:25:51 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-testing-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
2018-09-21 12:43:28 +03:00
|
|
|
<<: *steps-electron-build-for-tests
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2019-03-05 08:08:55 +03:00
|
|
|
linux-x64-testing-gn-check:
|
|
|
|
<<: *machine-linux-medium
|
|
|
|
environment:
|
|
|
|
<<: *env-linux-medium
|
|
|
|
<<: *env-testing-build
|
|
|
|
<<: *steps-electron-gn-check
|
|
|
|
|
2018-10-04 18:50:46 +03:00
|
|
|
linux-x64-chromedriver:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-medium
|
2018-10-04 18:50:46 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
2018-10-04 18:50:46 +03:00
|
|
|
<<: *env-release-build
|
|
|
|
<<: *env-enable-sccache
|
2018-10-06 02:15:38 +03:00
|
|
|
<<: *env-send-slack-notifications
|
2018-10-04 18:50:46 +03:00
|
|
|
<<: *steps-chromedriver-build
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
linux-x64-release:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-08-17 02:28:01 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-release-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
|
|
|
<<: *env-send-slack-notifications
|
2018-09-21 12:43:28 +03:00
|
|
|
<<: *steps-electron-build-for-tests
|
2018-08-01 02:25:51 +03:00
|
|
|
|
2018-09-27 17:58:57 +03:00
|
|
|
linux-x64-publish:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-09-27 17:58:57 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-10-05 03:20:25 +03:00
|
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-release-build
|
2018-09-27 17:58:57 +03:00
|
|
|
<<: *steps-electron-build-for-publish
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
linux-ia32-debug:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-08-01 02:25:51 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-ia32
|
|
|
|
<<: *env-debug-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
2018-09-21 12:43:28 +03:00
|
|
|
<<: *steps-electron-build
|
2018-09-15 01:12:30 +03:00
|
|
|
|
|
|
|
linux-ia32-testing:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-ia32
|
|
|
|
<<: *env-testing-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
2018-09-21 12:43:28 +03:00
|
|
|
<<: *steps-electron-build-for-tests
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-10-04 18:50:46 +03:00
|
|
|
linux-ia32-chromedriver:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-medium
|
2018-10-04 18:50:46 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
2018-10-04 18:50:46 +03:00
|
|
|
<<: *env-ia32
|
|
|
|
<<: *env-release-build
|
|
|
|
<<: *env-enable-sccache
|
2018-10-06 02:15:38 +03:00
|
|
|
<<: *env-send-slack-notifications
|
2018-10-04 18:50:46 +03:00
|
|
|
<<: *steps-chromedriver-build
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
linux-ia32-release:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-08-14 01:43:00 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-ia32
|
|
|
|
<<: *env-release-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
|
|
|
<<: *env-send-slack-notifications
|
2018-09-21 12:43:28 +03:00
|
|
|
<<: *steps-electron-build-for-tests
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-09-27 17:58:57 +03:00
|
|
|
linux-ia32-publish:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-09-27 17:58:57 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-10-05 03:20:25 +03:00
|
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
2018-09-27 17:58:57 +03:00
|
|
|
<<: *env-ia32
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-release-build
|
2018-09-27 17:58:57 +03:00
|
|
|
<<: *steps-electron-build-for-publish
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
linux-arm-debug:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-08-17 02:28:01 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-arm
|
|
|
|
<<: *env-debug-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
2018-09-21 12:43:28 +03:00
|
|
|
<<: *steps-electron-build
|
2018-08-17 02:28:01 +03:00
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
linux-arm-testing:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-08-14 01:43:00 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-arm
|
|
|
|
<<: *env-testing-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
2018-10-04 19:01:16 +03:00
|
|
|
TRIGGER_ARM_TEST: true
|
2018-09-21 12:43:28 +03:00
|
|
|
<<: *steps-electron-build-for-tests
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-10-04 18:50:46 +03:00
|
|
|
linux-arm-chromedriver:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-medium
|
2018-10-04 18:50:46 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
2018-10-04 18:50:46 +03:00
|
|
|
<<: *env-arm
|
|
|
|
<<: *env-release-build
|
|
|
|
<<: *env-enable-sccache
|
2018-10-06 02:15:38 +03:00
|
|
|
<<: *env-send-slack-notifications
|
2018-10-04 18:50:46 +03:00
|
|
|
<<: *steps-chromedriver-build
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
linux-arm-release:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-arm
|
|
|
|
<<: *env-release-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
|
|
|
<<: *env-send-slack-notifications
|
2018-09-21 12:43:28 +03:00
|
|
|
<<: *steps-electron-build-for-tests
|
2018-08-14 01:43:00 +03:00
|
|
|
|
2018-09-27 17:58:57 +03:00
|
|
|
linux-arm-publish:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-09-27 17:58:57 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-27 17:58:57 +03:00
|
|
|
<<: *env-arm
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-release-build
|
2018-10-05 03:20:25 +03:00
|
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm=True --custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
2018-09-27 17:58:57 +03:00
|
|
|
<<: *steps-electron-build-for-publish
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
linux-arm64-debug:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-08-14 01:43:00 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-arm64
|
|
|
|
<<: *env-debug-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
2018-09-21 12:43:28 +03:00
|
|
|
<<: *steps-electron-build
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2019-03-05 08:08:55 +03:00
|
|
|
linux-arm64-debug-gn-check:
|
|
|
|
<<: *machine-linux-medium
|
|
|
|
environment:
|
|
|
|
<<: *env-linux-medium
|
|
|
|
<<: *env-arm64
|
|
|
|
<<: *env-debug-build
|
|
|
|
<<: *steps-electron-gn-check
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
linux-arm64-testing:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-08-17 02:28:01 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-arm64
|
|
|
|
<<: *env-testing-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
2018-10-04 19:01:16 +03:00
|
|
|
TRIGGER_ARM_TEST: true
|
2018-09-21 12:43:28 +03:00
|
|
|
<<: *steps-electron-build-for-tests
|
2018-08-17 02:28:01 +03:00
|
|
|
|
2019-03-05 08:08:55 +03:00
|
|
|
linux-arm64-testing-gn-check:
|
|
|
|
<<: *machine-linux-medium
|
|
|
|
environment:
|
|
|
|
<<: *env-linux-medium
|
|
|
|
<<: *env-arm64
|
|
|
|
<<: *env-testing-build
|
|
|
|
<<: *steps-electron-gn-check
|
|
|
|
|
2018-10-04 18:50:46 +03:00
|
|
|
linux-arm64-chromedriver:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-medium
|
2018-10-04 18:50:46 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
2018-10-04 18:50:46 +03:00
|
|
|
<<: *env-arm64
|
|
|
|
<<: *env-release-build
|
|
|
|
<<: *env-enable-sccache
|
2018-10-06 02:15:38 +03:00
|
|
|
<<: *env-send-slack-notifications
|
2018-10-04 18:50:46 +03:00
|
|
|
<<: *steps-chromedriver-build
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
linux-arm64-release:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-08-14 01:43:00 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-arm64
|
|
|
|
<<: *env-release-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
|
|
|
<<: *env-send-slack-notifications
|
2018-09-21 12:43:28 +03:00
|
|
|
<<: *steps-electron-build-for-tests
|
2018-09-15 01:12:30 +03:00
|
|
|
|
2018-09-27 17:58:57 +03:00
|
|
|
linux-arm64-publish:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-09-27 17:58:57 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-27 17:58:57 +03:00
|
|
|
<<: *env-arm64
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-release-build
|
2018-10-05 03:20:25 +03:00
|
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_arm64=True --custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
2018-09-27 17:58:57 +03:00
|
|
|
<<: *steps-electron-build-for-publish
|
|
|
|
|
2018-09-17 19:44:02 +03:00
|
|
|
osx-testing:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *machine-mac-large
|
2018-09-17 19:44:02 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-mac-large
|
2018-09-17 19:44:02 +03:00
|
|
|
<<: *env-testing-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *steps-electron-build-for-tests
|
2018-09-17 19:44:02 +03:00
|
|
|
|
2019-03-05 08:08:55 +03:00
|
|
|
osx-debug-gn-check:
|
|
|
|
<<: *machine-mac
|
|
|
|
environment:
|
|
|
|
<<: *env-machine-mac
|
|
|
|
<<: *env-debug-build
|
|
|
|
<<: *steps-electron-gn-check
|
|
|
|
|
|
|
|
osx-testing-gn-check:
|
|
|
|
<<: *machine-mac
|
|
|
|
environment:
|
|
|
|
<<: *env-machine-mac
|
|
|
|
<<: *env-testing-build
|
|
|
|
<<: *steps-electron-gn-check
|
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
osx-chromedriver:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-mac
|
2018-09-17 19:44:02 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-machine-mac
|
|
|
|
<<: *env-release-build
|
|
|
|
<<: *env-enable-sccache
|
|
|
|
<<: *env-send-slack-notifications
|
|
|
|
<<: *steps-chromedriver-build
|
|
|
|
|
|
|
|
osx-release:
|
|
|
|
<<: *machine-mac-large
|
|
|
|
environment:
|
|
|
|
<<: *env-mac-large
|
|
|
|
<<: *env-release-build
|
|
|
|
<<: *env-enable-sccache
|
|
|
|
<<: *steps-electron-build-for-tests
|
|
|
|
|
|
|
|
osx-publish:
|
|
|
|
<<: *machine-mac-large
|
|
|
|
environment:
|
|
|
|
<<: *env-mac-large
|
|
|
|
<<: *env-release-build
|
|
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
|
|
|
<<: *steps-electron-build-for-publish
|
|
|
|
|
|
|
|
mas-testing:
|
|
|
|
<<: *machine-mac-large
|
|
|
|
environment:
|
|
|
|
<<: *env-mac-large
|
2018-09-17 19:44:02 +03:00
|
|
|
<<: *env-mas
|
|
|
|
<<: *env-testing-build
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *steps-electron-build-for-tests
|
|
|
|
|
2019-03-05 08:08:55 +03:00
|
|
|
mas-debug-gn-check:
|
|
|
|
<<: *machine-mac
|
|
|
|
environment:
|
|
|
|
<<: *env-machine-mac
|
|
|
|
<<: *env-mas
|
|
|
|
<<: *env-debug-build
|
|
|
|
<<: *steps-electron-gn-check
|
|
|
|
|
|
|
|
mas-testing-gn-check:
|
|
|
|
<<: *machine-mac
|
|
|
|
environment:
|
|
|
|
<<: *env-machine-mac
|
|
|
|
<<: *env-mas
|
|
|
|
<<: *env-testing-build
|
|
|
|
<<: *steps-electron-gn-check
|
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
mas-chromedriver:
|
|
|
|
<<: *machine-mac
|
|
|
|
environment:
|
|
|
|
<<: *env-machine-mac
|
|
|
|
<<: *env-release-build
|
|
|
|
<<: *env-enable-sccache
|
|
|
|
<<: *env-send-slack-notifications
|
|
|
|
<<: *steps-chromedriver-build
|
|
|
|
|
|
|
|
mas-release:
|
|
|
|
<<: *machine-mac-large
|
|
|
|
environment:
|
|
|
|
<<: *env-mac-large
|
|
|
|
<<: *env-mas
|
|
|
|
<<: *env-release-build
|
|
|
|
<<: *env-enable-sccache
|
|
|
|
<<: *steps-electron-build-for-tests
|
|
|
|
|
|
|
|
mas-publish:
|
|
|
|
<<: *machine-mac-large
|
|
|
|
environment:
|
|
|
|
<<: *env-mac-large
|
|
|
|
<<: *env-mas
|
|
|
|
<<: *env-release-build
|
|
|
|
GCLIENT_EXTRA_ARGS: '--custom-var=checkout_boto=True --custom-var=checkout_requests=True'
|
|
|
|
<<: *steps-electron-build-for-publish
|
2018-09-17 19:44:02 +03:00
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
# Layer 3: Tests.
|
2018-09-27 18:29:27 +03:00
|
|
|
linux-x64-unittests:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-09-27 18:29:27 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-27 18:29:27 +03:00
|
|
|
<<: *env-unittests
|
2018-10-22 23:12:19 +03:00
|
|
|
<<: *env-enable-sccache
|
|
|
|
<<: *env-headless-testing
|
|
|
|
<<: *steps-native-tests
|
|
|
|
|
|
|
|
linux-x64-disabled-unittests:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-10-22 23:12:19 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-10-22 23:12:19 +03:00
|
|
|
<<: *env-unittests
|
|
|
|
<<: *env-enable-sccache
|
|
|
|
<<: *env-headless-testing
|
2018-10-25 21:28:50 +03:00
|
|
|
TESTS_ARGS: '--only-disabled-tests'
|
2018-10-22 23:12:19 +03:00
|
|
|
<<: *steps-native-tests
|
|
|
|
|
|
|
|
linux-x64-chromium-unittests:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-10-22 23:12:19 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-10-22 23:12:19 +03:00
|
|
|
<<: *env-unittests
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-enable-sccache
|
2018-10-05 23:06:52 +03:00
|
|
|
<<: *env-headless-testing
|
2018-10-25 21:28:50 +03:00
|
|
|
TESTS_ARGS: '--include-disabled-tests'
|
2018-09-27 18:29:27 +03:00
|
|
|
<<: *steps-native-tests
|
|
|
|
|
|
|
|
linux-x64-browsertests:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-2xlarge
|
2018-09-18 13:55:46 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-2xlarge
|
2018-09-27 18:29:27 +03:00
|
|
|
<<: *env-browsertests
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-testing-build
|
|
|
|
<<: *env-enable-sccache
|
2018-10-05 23:06:52 +03:00
|
|
|
<<: *env-headless-testing
|
2018-09-18 13:55:46 +03:00
|
|
|
<<: *steps-native-tests
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
linux-x64-testing-tests:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-medium
|
2018-10-05 23:06:52 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
2018-10-05 23:06:52 +03:00
|
|
|
<<: *env-headless-testing
|
2018-10-09 02:17:11 +03:00
|
|
|
<<: *env-stack-dumping
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *steps-tests
|
|
|
|
|
|
|
|
linux-x64-release-tests:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-medium
|
2018-10-05 23:06:52 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
2018-10-05 23:06:52 +03:00
|
|
|
<<: *env-headless-testing
|
2018-10-06 02:15:38 +03:00
|
|
|
<<: *env-send-slack-notifications
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *steps-tests
|
2018-08-14 01:43:00 +03:00
|
|
|
|
2018-10-04 18:50:46 +03:00
|
|
|
linux-x64-verify-ffmpeg:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-medium
|
2018-10-05 23:06:52 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
2018-10-05 23:06:52 +03:00
|
|
|
<<: *env-headless-testing
|
2018-10-06 02:15:38 +03:00
|
|
|
<<: *env-send-slack-notifications
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *steps-verify-ffmpeg
|
|
|
|
|
2018-11-09 17:54:17 +03:00
|
|
|
linux-x64-verify-mksnapshot:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-medium
|
2018-11-09 17:54:17 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
2018-11-09 17:54:17 +03:00
|
|
|
<<: *env-headless-testing
|
|
|
|
<<: *env-send-slack-notifications
|
|
|
|
<<: *steps-verify-mksnapshot
|
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
linux-ia32-testing-tests:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-medium
|
2018-09-15 01:12:30 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-ia32
|
2018-10-05 23:06:52 +03:00
|
|
|
<<: *env-headless-testing
|
2018-10-09 02:17:11 +03:00
|
|
|
<<: *env-stack-dumping
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *steps-tests
|
|
|
|
|
|
|
|
linux-ia32-release-tests:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-medium
|
2018-09-15 01:12:30 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *env-ia32
|
2018-10-05 23:06:52 +03:00
|
|
|
<<: *env-headless-testing
|
2018-10-06 02:15:38 +03:00
|
|
|
<<: *env-send-slack-notifications
|
2018-09-15 01:12:30 +03:00
|
|
|
<<: *steps-tests
|
|
|
|
|
2018-10-04 18:50:46 +03:00
|
|
|
linux-ia32-verify-ffmpeg:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-medium
|
2018-10-01 23:24:51 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *env-ia32
|
2018-10-05 23:06:52 +03:00
|
|
|
<<: *env-headless-testing
|
2018-10-06 02:15:38 +03:00
|
|
|
<<: *env-send-slack-notifications
|
2018-10-01 23:24:51 +03:00
|
|
|
<<: *steps-verify-ffmpeg
|
|
|
|
|
2018-11-09 17:54:17 +03:00
|
|
|
linux-ia32-verify-mksnapshot:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-linux-medium
|
2018-11-09 17:54:17 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
2018-11-09 17:54:17 +03:00
|
|
|
<<: *env-ia32
|
|
|
|
<<: *env-headless-testing
|
|
|
|
<<: *env-send-slack-notifications
|
|
|
|
<<: *steps-verify-mksnapshot
|
|
|
|
|
2019-01-07 22:59:45 +03:00
|
|
|
osx-testing-tests:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *machine-mac-large
|
2019-01-07 22:59:45 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-mac-large
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *env-stack-dumping
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-disable-crash-reporter-tests
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *steps-tests
|
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
osx-release-tests:
|
|
|
|
<<: *machine-mac-large
|
|
|
|
environment:
|
|
|
|
<<: *env-mac-large
|
|
|
|
<<: *env-stack-dumping
|
|
|
|
<<: *env-send-slack-notifications
|
|
|
|
<<: *env-disable-crash-reporter-tests
|
|
|
|
<<: *steps-tests
|
|
|
|
|
|
|
|
osx-verify-ffmpeg:
|
2019-01-07 22:59:45 +03:00
|
|
|
<<: *machine-mac
|
2018-10-09 02:17:11 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-machine-mac
|
|
|
|
<<: *env-send-slack-notifications
|
|
|
|
<<: *steps-verify-ffmpeg
|
|
|
|
|
|
|
|
osx-verify-mksnapshot:
|
|
|
|
<<: *machine-mac
|
|
|
|
environment:
|
|
|
|
<<: *env-machine-mac
|
|
|
|
<<: *env-send-slack-notifications
|
|
|
|
<<: *steps-verify-mksnapshot
|
|
|
|
|
|
|
|
mas-testing-tests:
|
|
|
|
<<: *machine-mac-large
|
|
|
|
environment:
|
|
|
|
<<: *env-mac-large
|
2018-10-09 02:17:11 +03:00
|
|
|
<<: *env-stack-dumping
|
2018-09-21 12:43:28 +03:00
|
|
|
<<: *steps-tests
|
2018-08-21 20:06:28 +03:00
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
mas-release-tests:
|
|
|
|
<<: *machine-mac-large
|
|
|
|
environment:
|
|
|
|
<<: *env-mac-large
|
|
|
|
<<: *env-stack-dumping
|
|
|
|
<<: *env-send-slack-notifications
|
|
|
|
<<: *steps-tests
|
|
|
|
|
|
|
|
mas-verify-ffmpeg:
|
|
|
|
<<: *machine-mac
|
|
|
|
environment:
|
|
|
|
<<: *env-machine-mac
|
|
|
|
<<: *env-send-slack-notifications
|
|
|
|
<<: *steps-verify-ffmpeg
|
|
|
|
|
|
|
|
mas-verify-mksnapshot:
|
|
|
|
<<: *machine-mac
|
|
|
|
environment:
|
|
|
|
<<: *env-machine-mac
|
|
|
|
<<: *env-send-slack-notifications
|
|
|
|
<<: *steps-verify-mksnapshot
|
|
|
|
|
2018-10-06 02:15:38 +03:00
|
|
|
# Layer 4: Summary.
|
2019-01-07 22:59:45 +03:00
|
|
|
linux-x64-release-summary:
|
|
|
|
<<: *machine-linux-medium
|
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
|
|
|
<<: *env-send-slack-notifications
|
2019-01-07 22:59:45 +03:00
|
|
|
steps:
|
|
|
|
- *step-maybe-notify-slack-success
|
|
|
|
|
|
|
|
linux-ia32-release-summary:
|
|
|
|
<<: *machine-linux-medium
|
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
|
|
|
<<: *env-send-slack-notifications
|
2019-01-07 22:59:45 +03:00
|
|
|
steps:
|
|
|
|
- *step-maybe-notify-slack-success
|
|
|
|
|
|
|
|
linux-arm-release-summary:
|
|
|
|
<<: *machine-linux-medium
|
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
|
|
|
<<: *env-send-slack-notifications
|
2019-01-07 22:59:45 +03:00
|
|
|
steps:
|
|
|
|
- *step-maybe-notify-slack-success
|
|
|
|
|
|
|
|
linux-arm64-release-summary:
|
|
|
|
<<: *machine-linux-medium
|
2018-10-06 02:15:38 +03:00
|
|
|
environment:
|
2019-01-31 20:59:32 +03:00
|
|
|
<<: *env-linux-medium
|
|
|
|
<<: *env-send-slack-notifications
|
|
|
|
steps:
|
|
|
|
- *step-maybe-notify-slack-success
|
|
|
|
|
|
|
|
mas-release-summary:
|
|
|
|
<<: *machine-mac
|
|
|
|
environment:
|
|
|
|
<<: *env-machine-mac
|
|
|
|
<<: *env-send-slack-notifications
|
|
|
|
steps:
|
|
|
|
- *step-maybe-notify-slack-success
|
|
|
|
|
|
|
|
osx-release-summary:
|
|
|
|
<<: *machine-mac
|
|
|
|
environment:
|
|
|
|
<<: *env-machine-mac
|
|
|
|
<<: *env-send-slack-notifications
|
2018-10-06 02:15:38 +03:00
|
|
|
steps:
|
|
|
|
- *step-maybe-notify-slack-success
|
|
|
|
|
2017-09-13 16:48:19 +03:00
|
|
|
workflows:
|
|
|
|
version: 2
|
2019-02-06 23:53:25 +03:00
|
|
|
lint:
|
|
|
|
jobs:
|
|
|
|
- lint
|
|
|
|
|
2018-09-11 10:57:41 +03:00
|
|
|
build-linux:
|
2018-07-11 21:01:15 +03:00
|
|
|
jobs:
|
2018-09-15 01:12:30 +03:00
|
|
|
- linux-checkout
|
|
|
|
|
|
|
|
- linux-x64-debug:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
2019-03-05 08:08:55 +03:00
|
|
|
- linux-x64-debug-gn-check:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
2018-09-15 01:12:30 +03:00
|
|
|
- linux-x64-testing:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
2019-03-05 08:08:55 +03:00
|
|
|
- linux-x64-testing-gn-check:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
2018-09-15 01:12:30 +03:00
|
|
|
- linux-x64-testing-tests:
|
|
|
|
requires:
|
|
|
|
- linux-x64-testing
|
2018-09-19 15:53:22 +03:00
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
- linux-ia32-debug:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
|
|
|
- linux-ia32-testing:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
|
|
|
- linux-ia32-testing-tests:
|
|
|
|
requires:
|
|
|
|
- linux-ia32-testing
|
2018-09-19 15:53:22 +03:00
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
- linux-arm-debug:
|
|
|
|
requires:
|
2018-10-03 22:05:05 +03:00
|
|
|
- linux-checkout
|
2018-09-15 01:12:30 +03:00
|
|
|
- linux-arm-testing:
|
|
|
|
requires:
|
2018-10-03 22:05:05 +03:00
|
|
|
- linux-checkout
|
2018-09-21 12:43:28 +03:00
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
- linux-arm64-debug:
|
|
|
|
requires:
|
2018-10-03 22:05:05 +03:00
|
|
|
- linux-checkout
|
2019-03-05 08:08:55 +03:00
|
|
|
- linux-arm64-debug-gn-check:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
2018-09-15 01:12:30 +03:00
|
|
|
- linux-arm64-testing:
|
|
|
|
requires:
|
2018-10-03 22:05:05 +03:00
|
|
|
- linux-checkout
|
2019-03-05 08:08:55 +03:00
|
|
|
- linux-arm64-testing-gn-check:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
2018-09-14 21:56:16 +03:00
|
|
|
|
2019-01-31 20:59:32 +03:00
|
|
|
build-mac:
|
2018-08-21 20:06:28 +03:00
|
|
|
jobs:
|
2019-01-31 20:59:32 +03:00
|
|
|
- mac-checkout
|
2018-09-17 19:44:02 +03:00
|
|
|
- osx-testing:
|
2019-01-31 20:59:32 +03:00
|
|
|
requires:
|
|
|
|
- mac-checkout
|
|
|
|
|
2019-03-05 08:08:55 +03:00
|
|
|
- osx-debug-gn-check:
|
|
|
|
requires:
|
|
|
|
- mac-checkout
|
|
|
|
- osx-testing-gn-check:
|
|
|
|
requires:
|
|
|
|
- mac-checkout
|
|
|
|
|
2019-01-07 22:59:45 +03:00
|
|
|
- osx-testing-tests:
|
2018-09-17 19:44:02 +03:00
|
|
|
requires:
|
|
|
|
- osx-testing
|
|
|
|
|
|
|
|
- mas-testing:
|
2019-01-31 20:59:32 +03:00
|
|
|
requires:
|
|
|
|
- mac-checkout
|
|
|
|
|
2019-03-05 08:08:55 +03:00
|
|
|
- mas-debug-gn-check:
|
|
|
|
requires:
|
|
|
|
- mac-checkout
|
|
|
|
- mas-testing-gn-check:
|
|
|
|
requires:
|
|
|
|
- mac-checkout
|
|
|
|
|
2019-01-07 22:59:45 +03:00
|
|
|
- mas-testing-tests:
|
2018-09-17 19:44:02 +03:00
|
|
|
requires:
|
|
|
|
- mas-testing
|
2018-05-22 20:50:44 +03:00
|
|
|
|
2019-02-01 23:07:23 +03:00
|
|
|
nightly-linux-release-test:
|
2018-10-10 08:37:59 +03:00
|
|
|
triggers:
|
|
|
|
- schedule:
|
|
|
|
cron: "0 0 * * *"
|
|
|
|
filters:
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- *chromium-upgrade-branches
|
2018-08-17 02:28:01 +03:00
|
|
|
jobs:
|
2018-09-15 01:12:30 +03:00
|
|
|
- linux-checkout
|
|
|
|
|
|
|
|
- linux-x64-release:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
|
|
|
- linux-x64-release-tests:
|
|
|
|
requires:
|
|
|
|
- linux-x64-release
|
2018-10-04 18:50:46 +03:00
|
|
|
- linux-x64-verify-ffmpeg:
|
2018-10-01 23:24:51 +03:00
|
|
|
requires:
|
|
|
|
- linux-x64-release
|
2018-11-09 17:54:17 +03:00
|
|
|
- linux-x64-verify-mksnapshot:
|
|
|
|
requires:
|
|
|
|
- linux-x64-release
|
2018-10-04 18:50:46 +03:00
|
|
|
- linux-x64-chromedriver:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
2019-01-07 22:59:45 +03:00
|
|
|
- linux-x64-release-summary:
|
2018-10-06 02:15:38 +03:00
|
|
|
requires:
|
|
|
|
- linux-x64-release
|
|
|
|
- linux-x64-release-tests
|
|
|
|
- linux-x64-verify-ffmpeg
|
|
|
|
- linux-x64-chromedriver
|
2018-09-21 12:43:28 +03:00
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
- linux-ia32-release:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
|
|
|
- linux-ia32-release-tests:
|
|
|
|
requires:
|
|
|
|
- linux-ia32-release
|
2018-10-04 18:50:46 +03:00
|
|
|
- linux-ia32-verify-ffmpeg:
|
2018-10-01 23:24:51 +03:00
|
|
|
requires:
|
|
|
|
- linux-ia32-release
|
2018-11-09 17:54:17 +03:00
|
|
|
- linux-ia32-verify-mksnapshot:
|
|
|
|
requires:
|
|
|
|
- linux-ia32-release
|
2018-10-04 18:50:46 +03:00
|
|
|
- linux-ia32-chromedriver:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
2019-01-07 22:59:45 +03:00
|
|
|
- linux-ia32-release-summary:
|
2018-10-06 02:15:38 +03:00
|
|
|
requires:
|
|
|
|
- linux-ia32-release
|
|
|
|
- linux-ia32-release-tests
|
|
|
|
- linux-ia32-verify-ffmpeg
|
|
|
|
- linux-ia32-chromedriver
|
2018-09-21 12:43:28 +03:00
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
- linux-arm-release:
|
|
|
|
requires:
|
2018-10-03 22:05:05 +03:00
|
|
|
- linux-checkout
|
2018-10-04 18:50:46 +03:00
|
|
|
- linux-arm-chromedriver:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
2019-01-07 22:59:45 +03:00
|
|
|
- linux-arm-release-summary:
|
2018-10-06 02:15:38 +03:00
|
|
|
requires:
|
|
|
|
- linux-arm-release
|
|
|
|
- linux-arm-chromedriver
|
2019-03-28 18:05:43 +03:00
|
|
|
|
2018-09-21 12:43:28 +03:00
|
|
|
|
2018-09-15 01:12:30 +03:00
|
|
|
- linux-arm64-release:
|
|
|
|
requires:
|
2018-10-03 22:05:05 +03:00
|
|
|
- linux-checkout
|
2018-10-04 18:50:46 +03:00
|
|
|
- linux-arm64-chromedriver:
|
|
|
|
requires:
|
|
|
|
- linux-checkout
|
2019-01-07 22:59:45 +03:00
|
|
|
- linux-arm64-release-summary:
|
2018-10-06 02:15:38 +03:00
|
|
|
requires:
|
|
|
|
- linux-arm64-release
|
|
|
|
- linux-arm64-chromedriver
|
2018-10-04 18:50:46 +03:00
|
|
|
|
2019-02-01 23:07:23 +03:00
|
|
|
nightly-mac-release-test:
|
|
|
|
triggers:
|
|
|
|
- schedule:
|
|
|
|
cron: "0 0 * * *"
|
|
|
|
filters:
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- *chromium-upgrade-branches
|
|
|
|
jobs:
|
|
|
|
- mac-checkout
|
|
|
|
|
|
|
|
- osx-release:
|
|
|
|
requires:
|
|
|
|
- mac-checkout
|
|
|
|
- osx-release-tests:
|
|
|
|
requires:
|
|
|
|
- osx-release
|
|
|
|
- osx-verify-ffmpeg:
|
|
|
|
requires:
|
|
|
|
- osx-release
|
|
|
|
- osx-verify-mksnapshot:
|
|
|
|
requires:
|
|
|
|
- osx-release
|
|
|
|
- osx-chromedriver:
|
|
|
|
requires:
|
|
|
|
- mac-checkout
|
|
|
|
- osx-release-summary:
|
|
|
|
requires:
|
|
|
|
- osx-release
|
|
|
|
- osx-release-tests
|
|
|
|
- osx-verify-ffmpeg
|
|
|
|
- osx-chromedriver
|
|
|
|
|
|
|
|
- mas-release:
|
|
|
|
requires:
|
|
|
|
- mac-checkout
|
|
|
|
- mas-release-tests:
|
|
|
|
requires:
|
|
|
|
- mas-release
|
|
|
|
- mas-verify-ffmpeg:
|
|
|
|
requires:
|
|
|
|
- mas-release
|
|
|
|
- mas-verify-mksnapshot:
|
|
|
|
requires:
|
|
|
|
- mas-release
|
|
|
|
- mas-chromedriver:
|
|
|
|
requires:
|
|
|
|
- mac-checkout
|
|
|
|
- mas-release-summary:
|
|
|
|
requires:
|
|
|
|
- mas-release
|
|
|
|
- mas-release-tests
|
|
|
|
- mas-verify-ffmpeg
|
|
|
|
- mas-chromedriver
|
|
|
|
|
2018-10-04 18:50:46 +03:00
|
|
|
# Various slow and non-essential checks we run only nightly.
|
|
|
|
# Sanitizer jobs should be added here.
|
|
|
|
linux-checks-nightly:
|
|
|
|
triggers:
|
|
|
|
- schedule:
|
|
|
|
cron: "0 0 * * *"
|
|
|
|
filters:
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
- *chromium-upgrade-branches
|
|
|
|
jobs:
|
2018-11-05 18:19:00 +03:00
|
|
|
- linux-checkout-for-native-tests
|
2018-10-04 18:50:46 +03:00
|
|
|
|
|
|
|
# TODO(alexeykuzmin): Enable it back.
|
|
|
|
# Tons of crashes right now, see
|
|
|
|
# https://circleci.com/gh/electron/electron/67463
|
|
|
|
# - linux-x64-browsertests:
|
|
|
|
# requires:
|
2018-11-05 18:19:00 +03:00
|
|
|
# - linux-checkout-for-native-tests
|
2018-10-04 18:50:46 +03:00
|
|
|
|
|
|
|
- linux-x64-unittests:
|
|
|
|
requires:
|
2018-11-05 18:19:00 +03:00
|
|
|
- linux-checkout-for-native-tests
|
2018-10-22 23:12:19 +03:00
|
|
|
|
|
|
|
- linux-x64-disabled-unittests:
|
|
|
|
requires:
|
2018-11-05 18:19:00 +03:00
|
|
|
- linux-checkout-for-native-tests
|
2018-10-22 23:12:19 +03:00
|
|
|
|
2018-11-05 18:19:00 +03:00
|
|
|
- linux-checkout-for-native-tests-with-no-patches
|
2018-10-22 23:12:19 +03:00
|
|
|
|
|
|
|
- linux-x64-chromium-unittests:
|
|
|
|
requires:
|
2018-11-05 18:19:00 +03:00
|
|
|
- linux-checkout-for-native-tests-with-no-patches
|