As DD said, Riolu cannot breed. When you put pokemon in daycare you should talk to the man outside. If he says "They prefer to play with other Pokemon more than each other" then they will never mate.
Anything else he says means they will mate, even "They don't like each other". It will just take longer.