flintlib / flint

FLINT (Fast Library for Number Theory)
http://www.flintlib.org
GNU Lesser General Public License v3.0
403 stars 235 forks source link

CI should fail fast #1238

Open fredrik-johansson opened 1 year ago

fredrik-johansson commented 1 year ago

CI should abort all jobs if any of the fast jobs (say, Ubuntu GCC and CMake fail). There's no point wasting electricity running a 3-hour test for BSD when this happens.

Failures on Cygwin and MinGW should probably not cancel other jobs, because those just fail randomly.

albinahlback commented 1 year ago

I have a fix (Check my action).

fredrik-johansson commented 1 year ago

@albinahlback Seems to work except that the Cygwin failure cancels the FreeBSD action.

Maybe there is some simple way to fix the Cygwin action though? It errors out after an hour or so with "No space left on device". Is it possible that we are building huge statically linked test programs that fill up the disk?

albinahlback commented 1 year ago

Oh, let's disable static and only enable shared for Cygwin. If I recall it correctly, I was not able to make the shared version work. That should reduce the space required for Cygwin.

albinahlback commented 1 year ago

I believe this will only work if the user has action permissions. I do not know how to set this up properly. I have tried to check the settings in my repository, but I cannot see how to give action permissions for everyone.