CI/CD maven project remote

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?

I found the document , but how can i config gitlab to connect to my custom runner?

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