ci: set NIM_PARAMS=-d:disableMarchNative for container image build

The docker image build compiled secp256k1 with -march=native and failed.
waku.nimble's getNimParams reads the NIM_PARAMS env var, not NIMFLAGS, so
the -d:disableMarchNative passed via NIMFLAGS on the make line never
reached `nim c` and config.nims applied -march=native. #3916 added
NIM_PARAMS to ci.yml but missed container-image.yml; set it here too.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Ivan FB 2026-06-02 14:57:51 +02:00
parent 83f962c3c8
commit eadd7dcc06
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270

View File

@ -15,6 +15,11 @@ env:
NPROC: 2
MAKEFLAGS: "-j${NPROC}"
NIMFLAGS: "--parallelBuild:${NPROC}"
# nim builds read compile flags from NIM_PARAMS (getNimParams in waku.nimble),
# not NIMFLAGS, so -d:disableMarchNative must live here or config.nims applies
# -march=native and secp256k1 fails to compile (see #3916, which set this in
# ci.yml but missed this workflow).
NIM_PARAMS: "-d:disableMarchNative"
NIM_VERSION: '2.2.4'
NIMBLE_VERSION: '0.22.3'