Improve CI config: clean and compile sources waiting for emulator