mirror of
https://github.com/logos-messaging/logos-delivery-interop-tests.git
synced 2026-06-06 06:49:29 +00:00
fix the yml error
This commit is contained in:
parent
35c0f3378b
commit
0cd64d7892
13
.github/workflows/pr_tests.yml
vendored
13
.github/workflows/pr_tests.yml
vendored
@ -44,7 +44,7 @@ jobs:
|
||||
run: |
|
||||
BINDINGS_HASH=$(git rev-parse HEAD:vendor/logos-delivery-python-bindings)
|
||||
DELIVERY_HASH=$(git -C vendor/logos-delivery-python-bindings rev-parse HEAD:vendor/logos-delivery)
|
||||
echo "key=liblogosdelivery-${{ runner.os }}-nim2.2.4-v2-${BINDINGS_HASH}-${DELIVERY_HASH}" >> "$GITHUB_OUTPUT"
|
||||
echo "key=liblogosdelivery-${{ runner.os }}-nim2.2.4-v3-${BINDINGS_HASH}-${DELIVERY_HASH}" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Cache liblogosdelivery.so
|
||||
id: cache-lib
|
||||
@ -106,7 +106,16 @@ jobs:
|
||||
# `nimble setup --localdeps` (build-deps prerequisite); a bare
|
||||
# `nimble install -y` here is redundant and pulls Nim from the lock,
|
||||
# which is what triggered the checksum mismatch.
|
||||
make liblogosdelivery
|
||||
#
|
||||
# -d:disableMarchNative: without it config.nims compiles with
|
||||
# -march=native, and the cached .so then crashes with SIGILL
|
||||
# ("Illegal instruction") when a later job lands on a runner with
|
||||
# an older CPU generation. -d:marchOptimized keeps a portable
|
||||
# x86-64-v2 baseline, which all GitHub-hosted runners support.
|
||||
# Passed via the environment (not a make argument) so the
|
||||
# Makefile's own NIM_PARAMS appends (-d:release, git_version)
|
||||
# still apply.
|
||||
NIM_PARAMS="-d:disableMarchNative -d:marchOptimized" make liblogosdelivery
|
||||
|
||||
SO_PATH="$(find . -type f -name 'liblogosdelivery.so' | head -n 1)"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user