To Give Someone the Cold Shoulder

To ignore someone and refuse to be friendly toward them. 

"I tried to ask Terry what he was doing but he just gave me the cold shoulder.  He just ignored me and carried on."