Adds flag 'ONLY_ACTIVE_ARCH' on build and test actions