Using this great answer, I\'ve managed to alter it to create a script to export events from a Google Spreadsheet to Google Calendar.
Create Google Calendar Events from
There are various GAS libraries that help you get past the 5 minute execution timeout, using the same idea as @Serge suggested. I personally use the Continuous Batch Library.