The White House’s bipartisan infrastructure deal announced Thursday lifted the broader market.