77 - main
88 - flint-*
99
10+ env :
11+ GLOBAL_MULTIPLIER : 0.1
12+
1013concurrency :
1114 # group by workflow and ref; the last slightly strange component ensures that for pull
1215 # requests, we limit to 1 concurrent job, but for the main branch we don't
2831 FLINT_TEST_MULTIPLIER : " 10"
2932
3033 steps :
34+ - name : " Rescale multiplier"
35+ run : |
36+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))"
37+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))" >> $GITHUB_ENV
38+
3139 - uses : actions/checkout@v4
3240
3341 - name : " Setup"
@@ -110,6 +118,11 @@ jobs:
110118 FLINT_TEST_MULTIPLIER : " 2"
111119
112120 steps :
121+ - name : " Rescale multiplier"
122+ run : |
123+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))"
124+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))" >> $GITHUB_ENV
125+
113126 - uses : actions/checkout@v4
114127
115128 - name : " Setup"
@@ -158,6 +171,11 @@ jobs:
158171 FLINT_TEST_MULTIPLIER : " 3"
159172
160173 steps :
174+ - name : " Rescale multiplier"
175+ run : |
176+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))"
177+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))" >> $GITHUB_ENV
178+
161179 - uses : actions/checkout@v4
162180
163181 - name : " Setup"
@@ -208,7 +226,14 @@ jobs:
208226 env :
209227 FLINT_TEST_MULTIPLIER : " 2"
210228
229+ if : false # temporary disabled
230+
211231 steps :
232+ - name : " Rescale multiplier"
233+ run : |
234+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))"
235+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))" >> $GITHUB_ENV
236+
212237 - uses : actions/checkout@v4
213238
214239 - name : " Setup"
@@ -265,6 +290,11 @@ jobs:
265290 FLINT_TEST_MULTIPLIER : " 5"
266291
267292 steps :
293+ - name : " Rescale multiplier"
294+ run : |
295+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))"
296+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))" >> $GITHUB_ENV
297+
268298 - uses : actions/checkout@v4
269299
270300 - name : " Setup"
@@ -324,7 +354,14 @@ jobs:
324354 CC : " gcc"
325355 FLINT_TEST_MULTIPLIER : " 0.5"
326356
357+ if : false # temporary disabled
358+
327359 steps :
360+ - name : " Rescale multiplier"
361+ run : |
362+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))"
363+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))" >> $GITHUB_ENV
364+
328365 - uses : actions/checkout@v4
329366
330367 - name : " Setup MinGW"
@@ -371,8 +408,19 @@ jobs:
371408 name : MSVC (x1)
372409
373410 runs-on : windows-latest
411+ env :
412+ FLINT_TEST_MULTIPLIER : 1
413+ TIMEOUT : 450
374414
375415 steps :
416+ - name : " Rescale multiplier (powershell)"
417+ run : |
418+ $FLINT_TEST_MULTIPLIER = $env:FLINT_TEST_MULTIPLIER * $env:GLOBAL_MULTIPLIER
419+ echo "FLINT_TEST_MULTIPLIER=$FLINT_TEST_MULTIPLIER | Out-File -Append -FilePath $env:GITHUB_ENV"
420+ $TIMEOUT = $env:TIMEOUT * $env:GLOBAL_MULTIPLIER
421+ echo "TIMEOUT=$TIMEOUT | Out-File -Append -FilePath $env:GITHUB_ENV"
422+ shell : powershell
423+
376424 - uses : actions/checkout@v4
377425
378426 - name : " Setup cache for dependencies"
@@ -413,8 +461,9 @@ jobs:
413461 - name : " Check"
414462 run : |
415463 cd build
416- set "FLINT_TEST_MULTIPLIER=1"
417- ctest -j5 --output-on-failure --timeout 450
464+ set "FLINT_TEST_MULTIPLIER=$env:FLINT_TEST_MULTIPLIER"
465+ ctest -j5 --output-on-failure --timeout $env:TIMEOUT
466+ shell : powershell
418467
419468
420469
@@ -431,6 +480,11 @@ jobs:
431480 FLINT_TEST_MULTIPLIER : " 1.5"
432481
433482 steps :
483+ - name : " Rescale multiplier"
484+ run : |
485+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))"
486+ echo "FLINT_TEST_MULTIPLIER=$((${FLINT_TEST_MULTIPLIER} * ${GLOBAL_MULTIPLIER}))" >> $GITHUB_ENV
487+
434488 - uses : actions/checkout@v4
435489
436490 - name : " Setup latest Alpine Linux"
@@ -496,6 +550,8 @@ jobs:
496550 LOCAL : ${{ github.workspace }}/local
497551 CC : " gcc"
498552
553+ if : false # temporarily disabled
554+
499555 steps :
500556 - uses : actions/checkout@v4
501557
0 commit comments