My American friends say "I like to do something", and some of my British friends too. When we learnt English at school, we always used "I like doing something". But they have the same meaning; there may be a slight difference, but it can be explained by telepathy better than words.