Cristiano Ronaldo's Portugal battled their way to a place in the European Championship last four winning a penalty shootout 5-3 against Poland in a tense quarter-final.