Yes, voting is compulsory.
Under the law, all employers must give employees, who are voters, a reasonable period of time for voting.
You need to promptly inform your employer to request for time-off, so that appropriate work arrangements can be made to cover your duties when you are voting.
Note: Polling hours are from 8am to 8pm.