Merge pull request #14672 from electron/use-smaller-machines-on-linux-ci

ci: use smaller size machines for some Linux CI jobs
This commit is contained in:
John Kleinschmidt 2018-09-19 13:51:58 -04:00 committed by GitHub
commit 0e91db2188
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,14 @@
# Build machines configs. # Build machines configs.
machine-linux: &machine-linux docker-image: &docker-image
docker: docker:
- image: electronbuilds/electron:0.0.8 - image: electronbuilds/electron:0.0.8
machine-linux-medium: &machine-linux-medium
<<: *docker-image
resource_class: medium
machine-linux-2xlarge: &machine-linux-2xlarge
<<: *docker-image
resource_class: 2xlarge resource_class: 2xlarge
machine-mac: &machine-mac machine-mac: &machine-mac
@ -449,77 +456,77 @@ version: 2
jobs: jobs:
# Layer 1: Checkout. # Layer 1: Checkout.
linux-checkout: linux-checkout:
<<: *machine-linux <<: *machine-linux-2xlarge
<<: *steps-checkout <<: *steps-checkout
linux-arm-checkout: linux-arm-checkout:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-arm <<: *env-arm
<<: *steps-checkout <<: *steps-checkout
linux-arm64-checkout: linux-arm64-checkout:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-arm64 <<: *env-arm64
<<: *steps-checkout <<: *steps-checkout
# Layer 2: Builds. # Layer 2: Builds.
linux-x64-debug: linux-x64-debug:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-debug-build <<: *env-debug-build
<<: *steps-debug-build <<: *steps-debug-build
linux-x64-testing: linux-x64-testing:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-testing-build <<: *env-testing-build
<<: *steps-testing-build <<: *steps-testing-build
linux-x64-release: linux-x64-release:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-release-build <<: *env-release-build
<<: *steps-release-build <<: *steps-release-build
linux-ia32-debug: linux-ia32-debug:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-ia32 <<: *env-ia32
<<: *env-debug-build <<: *env-debug-build
<<: *steps-debug-build <<: *steps-debug-build
linux-ia32-testing: linux-ia32-testing:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-ia32 <<: *env-ia32
<<: *env-testing-build <<: *env-testing-build
<<: *steps-testing-build <<: *steps-testing-build
linux-ia32-release: linux-ia32-release:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-ia32 <<: *env-ia32
<<: *env-release-build <<: *env-release-build
<<: *steps-release-build <<: *steps-release-build
linux-arm-debug: linux-arm-debug:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-arm <<: *env-arm
<<: *env-debug-build <<: *env-debug-build
<<: *steps-debug-build <<: *steps-debug-build
linux-arm-testing: linux-arm-testing:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-arm <<: *env-arm
<<: *env-testing-build <<: *env-testing-build
<<: *steps-testing-build <<: *steps-testing-build
linux-arm-release: linux-arm-release:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-arm <<: *env-arm
<<: *env-release-build <<: *env-release-build
@ -527,21 +534,21 @@ jobs:
<<: *steps-release-build <<: *steps-release-build
linux-arm64-debug: linux-arm64-debug:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-arm64 <<: *env-arm64
<<: *env-debug-build <<: *env-debug-build
<<: *steps-debug-build <<: *steps-debug-build
linux-arm64-testing: linux-arm64-testing:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-arm64 <<: *env-arm64
<<: *env-testing-build <<: *env-testing-build
<<: *steps-testing-build <<: *steps-testing-build
linux-arm64-release: linux-arm64-release:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-arm64 <<: *env-arm64
<<: *env-release-build <<: *env-release-build
@ -563,27 +570,27 @@ jobs:
# Layer 3: Tests. # Layer 3: Tests.
linux-x64-native-tests-fyi: linux-x64-native-tests-fyi:
<<: *machine-linux <<: *machine-linux-2xlarge
environment: environment:
<<: *env-testing-build <<: *env-testing-build
<<: *steps-native-tests <<: *steps-native-tests
linux-x64-testing-tests: linux-x64-testing-tests:
<<: *machine-linux <<: *machine-linux-medium
<<: *steps-tests <<: *steps-tests
linux-x64-release-tests: linux-x64-release-tests:
<<: *machine-linux <<: *machine-linux-medium
<<: *steps-tests <<: *steps-tests
linux-ia32-testing-tests: linux-ia32-testing-tests:
<<: *machine-linux <<: *machine-linux-medium
environment: environment:
<<: *env-ia32 <<: *env-ia32
<<: *steps-tests <<: *steps-tests
linux-ia32-release-tests: linux-ia32-release-tests:
<<: *machine-linux <<: *machine-linux-medium
environment: environment:
<<: *env-ia32 <<: *env-ia32
<<: *steps-tests <<: *steps-tests