China has signed a deal with Nigeria to build an $ 8-billion oil refinery near the city of Lagos , in another example of China 's investment in Africa .