Help updating circleCI .yml for my c++ project

Can anyone help me to update my .yml file to fit the current requirements?
I’m working on a c++ Project and require c++17 at least. It seems I have some kind of old structure in my file… gcc 9 would be a good step forward. Any recommendations to optimize/update my .yml?