Tail-enders Cameron Gannon and Liam O'Connor have played heroic roles with the bat to secure a thrilling draw for Western Australia in their Sheffield Shield clash with South Australia at the WACA Ground.