mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-06-26 03:09:31 +00:00
ci(test): pass -d:ffiAllowSignalHandler when compiling unit tests
The noSignalHandler compile-time guard rejects any build of the ffi modules that doesn't set -d:noSignalHandler (embedded) or -d:ffiAllowSignalHandler (standalone). test.yml compiled the unit tests with a raw `nim c` missing the flag, so every per-test job failed at the guard. The nimble test tasks already pass it; mirror that here. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
parent
0e176bd5eb
commit
fe6749d3af
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -83,4 +83,4 @@ jobs:
|
||||
if [ "$RUNNER_OS" == "Windows" ]; then
|
||||
export PATH="$GITHUB_WORKSPACE/.nim_runtime/bin:$HOME/.nimble/bin:$PATH"
|
||||
fi
|
||||
nim c -r --mm:${{ matrix.mm }} -d:chronicles_log_level=WARN tests/unit/${{ inputs.test }}.nim
|
||||
nim c -r --mm:${{ matrix.mm }} -d:chronicles_log_level=WARN -d:ffiAllowSignalHandler tests/unit/${{ inputs.test }}.nim
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user