Skip to content

Commit 2c3de87

Browse files
authored
Fixes for Nim v2.2 (#476)
* CI: echo scheduled commands * ci: revert echo scheduled command + don't create pipe for any != 1.6 branch * no LTO for windows 2.2, impossible constraint in deneb_kzg test * ci: typo on CTT_LTO
1 parent 4a2dd28 commit 2c3de87

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/ci.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -372,12 +372,13 @@ jobs:
372372
# So "test_bindings" uses C and can find GMP
373373
# but nim-gmp cannot find GMP on Windows CI
374374
# Also need to workaround asynctools not being able to create pipes https://github.com/nim-lang/Nim/issues/23118
375+
# And LTO impossible constraint in the deneb_kzg test (but not MSM for some reason)
375376
if: runner.os == 'Windows' && matrix.target.BACKEND == 'ASM'
376377
shell: msys2 {0}
377378
run: |
378379
cd constantine
379-
if [[ '${{ matrix.nim_version }}' == 'version-2-0' ]]; then
380-
nimble test_no_gmp --verbose
380+
if [[ '${{ matrix.nim_version }}' != 'version-1-6' ]]; then
381+
CTT_LTO=0 nimble test_no_gmp --verbose
381382
else
382383
nimble test_parallel_no_gmp --verbose
383384
fi
@@ -389,8 +390,8 @@ jobs:
389390
shell: msys2 {0}
390391
run: |
391392
cd constantine
392-
if [[ '${{ matrix.nim_version }}' == 'version-2-0' ]]; then
393-
CTT_ASM=0 nimble test_no_gmp --verbose
393+
if [[ '${{ matrix.nim_version }}' != 'version-1-6' ]]; then
394+
CTT_ASM=0 CTT_LTO=0 nimble test_no_gmp --verbose
394395
else
395396
CTT_ASM=0 nimble test_parallel_no_gmp --verbose
396397
fi

helpers/pararun.nim

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,4 +191,4 @@ proc main() =
191191
runCommands(commandFile, numWorkers)
192192

193193
when isMainModule:
194-
main()
194+
main()

0 commit comments

Comments
 (0)