CI/CD maven project remote

Hi
I got a maven project, i can’t use built-in gitlab job to build it since the project is quite complex. Can I use my own server to build it, hosting the “build job” from gitlab CI/CD? Is there any tutorial?
thanks
Peter

I found the document https://docs.gitlab.com/runner/ , but how can i config gitlab to connect to my custom runner?

ok, i dont it by installing gitlab-runner on my linux. thanks