mirror of
https://github.com/logos-messaging/logos-messaging-interop-tests.git
synced 2026-06-18 07:39:33 +00:00
ci: port Nim checksum fix to test_common.yml (#189)
This commit is contained in:
parent
c89c967b9a
commit
1a3e00d11e
15
.github/workflows/test_common.yml
vendored
15
.github/workflows/test_common.yml
vendored
@ -117,6 +117,10 @@ jobs:
|
||||
echo "$HOME/.nimble/bin" >> "$GITHUB_PATH"
|
||||
export PATH="$HOME/.nimble/bin:$PATH"
|
||||
choosenim 2.2.4
|
||||
# Pin the nimble that generated logos-delivery's nimble.lock. A newer
|
||||
# nimble recomputes the locked Nim package checksum differently, which
|
||||
# makes `nimble setup --localdeps` abort with a checksum mismatch.
|
||||
(cd /tmp && nimble install "nimble@0.22.3" -y)
|
||||
nim --version
|
||||
nimble --version
|
||||
|
||||
@ -137,13 +141,10 @@ jobs:
|
||||
|
||||
ln -sf waku.nimble waku.nims
|
||||
|
||||
# install Nim deps
|
||||
nimble install -y
|
||||
|
||||
# do the real setup, do not fake .nimble-setup
|
||||
make setup
|
||||
|
||||
# now build the shared library
|
||||
# `make liblogosdelivery` resolves the locked deps via
|
||||
# `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
|
||||
|
||||
SO_PATH="$(find . -type f -name 'liblogosdelivery.so' | head -n 1)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user