Circle CI: Adapt to upcoming breaking change - #23830
Conversation
The v2 YAML support will be dropped on September 21st, we need to migrate to v2.1.
4377305 to
75dc545
Compare
| working_directory: ~/dmd # the Phobos Makefile expects this dir name, not Circle's default `~/project` | ||
| machine: | ||
| image: ubuntu-2604:current | ||
| resource_class: large.gen3 |
There was a problem hiding this comment.
Switching from a docker container to a VM enables using the Gen3 runners, which were announced as beta some weeks ago, and are now seemingly undocumented again (from the price list).
The large.gen3 class features 4 CPU cores and 16 GB of RAM, and costs 14 credits per minute (last time I saw it in the pricing list), vs. 2 cores/4 GB for the currently used medium docker gen1 @ 10 credits per minute.
The thing is that gen3 is at the same time also much faster per core (Zen v5 CPUs etc.) - the CI job here took 6:34 mins, whereas a recent master one took 33+ mins. So we should be easily able to 'afford' the upgrade from medium to large resource class (1.4x credits per minute, but 5x as fast); as the linked graph shows, the CPU utilization is good.
| resource_class: large.gen3 | ||
| steps: | ||
| - checkout: | ||
| method: blobless |
There was a problem hiding this comment.
blobless is the default setting: https://circleci.com/docs/reference/configuration-reference/#checkout
[And parallelism: 1 too.]
The v2 YAML support will be dropped on September 21st, we need to migrate to v2.1.