Config.yaml for c project stm32 microcontroller

Hi… .
In the past i have done the following yaml file for compiling a stm32 project but for travis ci.
Since CircleCi is much better i would like to have a hint about how to modify it …
Can you please help me ?

version: 2
jobs:
  build:
    docker:
      - image: jumperio/vlab-gcc-arm:latest
    steps:
      - checkout
      - run:
          name: build
          command: |
            sed -i -E 's/[A-Z]:\\.*\\workspace_[^\\]+\\[^\\]+\\/..\//' Debug/makefile
            make -C Debug all
      - store_artifacts:
          path: build/

Thanks