School pupils have travelled to protest against plans to build a quarry next to thei school.