ci: cover build job and daily workflow with -d:disableMarchNative

Per review on #3916: the previous commit only patched the test
job's "Run tests" step. The build job (make V=1 all) and the
ci-daily.yml workflow run on the same heterogeneous runner pool
and compile secp256k1 the same way, so they hit the same asm
register-pressure failure intermittently.

Lift NIM_PARAMS to the workflow-level env: block in ci.yml so
both jobs inherit it, and drop the now-redundant per-step
export. Mirror the change in ci-daily.yml.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Ivan FB 2026-05-29 08:17:41 +02:00
parent 0442170841
commit 5d7dde9444
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270
2 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,8 @@ on:
env:
NPROC: 2
MAKEFLAGS: "-j${NPROC}"
NIMFLAGS: "--parallelBuild:${NPROC} --colors:off -d:chronicles_colors:none"
NIMFLAGS: "--parallelBuild:${NPROC} --colors:off -d:chronicles_colors:none -d:disableMarchNative"
NIM_PARAMS: "-d:disableMarchNative"
jobs:
build:

View File

@ -14,6 +14,7 @@ env:
NPROC: 2
MAKEFLAGS: "-j${NPROC}"
NIMFLAGS: "--parallelBuild:${NPROC} --colors:off -d:chronicles_colors:none -d:disableMarchNative"
NIM_PARAMS: "-d:disableMarchNative"
NIM_VERSION: '2.2.4'
NIMBLE_VERSION: '0.22.3'
@ -158,7 +159,6 @@ jobs:
export MAKEFLAGS="-j1"
export NIMFLAGS="--colors:off -d:chronicles_colors:none -d:disableMarchNative"
export NIM_PARAMS="-d:disableMarchNative"
export USE_LIBBACKTRACE=0
make V=1 POSTGRES=$postgres_enabled test