mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-05-11 21:09:27 +00:00
feat: us prebuilt nimble to avoid koch
This commit is contained in:
parent
b92a0ef262
commit
a9f241e032
10
.github/workflows/windows-build.yml
vendored
10
.github/workflows/windows-build.yml
vendored
@ -75,10 +75,16 @@ jobs:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Install Nimble ${{ env.NIMBLE_VERSION }}
|
||||
# Use the prebuilt Windows binary instead of `nimble install nimble@...`,
|
||||
# which triggers a koch self-bootstrap that races Windows Defender on
|
||||
# bin\nim.exe and fails with "Access is denied".
|
||||
run: |
|
||||
export PATH="$GITHUB_WORKSPACE/.nim_runtime/bin:$PATH"
|
||||
cd /tmp && nimble install "nimble@${{ env.NIMBLE_VERSION }}" -y
|
||||
mkdir -p "$HOME/.nimble/bin"
|
||||
curl -fsSL -o /tmp/nimble.zip \
|
||||
"https://github.com/nim-lang/nimble/releases/download/v${{ env.NIMBLE_VERSION }}/nimble-windows_x64.zip"
|
||||
unzip -o /tmp/nimble.zip -d "$HOME/.nimble/bin"
|
||||
echo "$HOME/.nimble/bin" >> $GITHUB_PATH
|
||||
"$HOME/.nimble/bin/nimble.exe" --version
|
||||
|
||||
- name: Patch nimble.lock for Windows nim checksum
|
||||
# nimble.exe uses Windows Git (core.autocrlf=true by default), which converts LF→CRLF
|
||||
|
||||
@ -7,8 +7,6 @@ import ../waku_keystore
|
||||
# Acceptable roots for merkle root validation of incoming messages
|
||||
const AcceptableRootWindowSize* = 50
|
||||
|
||||
const DummyConstant* = 50
|
||||
|
||||
# RLN membership key and index files path
|
||||
const RlnCredentialsFilename* = "rlnCredentials.txt"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user