Skip to content

Commit

Permalink
Explicitly declare resource class per executor
Browse files Browse the repository at this point in the history
- compilation needs more CPUs, "large" is the biggest available on a
  free plan.
- uploading artefacts only needs a single CPU and little memory.

See: https://circleci.com/docs/using-docker/#x86, https://circleci.com/pricing
  • Loading branch information
sgerrand committed Jun 25, 2024
1 parent 1033f53 commit a7fd43f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ executors:
- image: docker:git
environment:
GLIBC_VERSION: 2.39
resource_class: large
working_directory: ~/docker-glibc-builder
artefact-uploader:
docker:
- image: golang:alpine
resource_class: small
working_directory: ~/docker-glibc-builder
jobs:
build:
Expand Down

0 comments on commit a7fd43f

Please sign in to comment.