I couldn't withstand the Necromancer without significant losses because he constantly used the Phantom Summon and Raise Dead spells. I didn't have enough Warriors to kill them 100 times.
Well, I also suffered huge losses. But the triple ballista reliably kills the Phantom, and after frequent use of Raise Dead, it also one-shots almost any enemy unit.
By the way, you can use Inquisitors to protect the archers - they hold up well against enemy attacks under their stone skin.