How does GitLab CI/CD work at a high level?

BeginnerConceptGitLab CI
Answer

You add .gitlab-ci.yml to the repo root. GitLab creates a pipeline per trigger (push, merge request, schedule, API), made of stages containing jobs. Jobs are picked up by runners registered with the instance, project or group. Jobs in the same stage run in parallel; stages run in order.

stages: [build, test, deploy]
build:
  stage: build
  script: [make build]
test:
  stage: test
  script: [make test]
All CI/CD questions Roadmap: GitLab CI/CD

More on GitLab CI