[ci] Add script to compile and run unit tests for Cortex-M3/Qemu