Flights, ferry crossings and rail services are set to be affected by a general strike in France.