-C target-cpu=native causes illegal instructions when using actions cache due to Github Actions' wide range of CPU targets. haswell is the earliest target level with mandatory AVX2 and will work fine with everything more recent than that. This also matches our flags in other workflows.
-C target-cpu=native
causes illegal instructions when using actions cache due to Github Actions' wide range of CPU targets.haswell
is the earliest target level with mandatory AVX2 and will work fine with everything more recent than that. This also matches our flags in other workflows.