rln shared lib is needed by nim-waku bin

This commit is contained in:
Franck Royer 2021-03-15 18:20:30 +11:00
parent cc84fb1c93
commit 57fa974812
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
2 changed files with 5 additions and 9 deletions

View File

@ -14,18 +14,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2
- name: Init submodules
# This is done as part of pretest but as we are caching the nim binary
# which is inside the submodule, better initialising them before
# recovering the binary.
run: git submodule update --init --recursive
- name: Cache nim-waku binary
uses: actions/cache@v2
with:
path: ./nim-waku/build/wakunode2
path: |
./nim-waku/build/wakunode2
./nim-waku/vendor/rln/target/debug
# The nim-waku version is set by the .gitmodules file as it is a submodule
key: nim-waku-build-v1-${{ hashFiles('.gitmodules') }}
key: nim-waku-build-v2-${{ hashFiles('.gitmodules') }}
- name: Install bufbuild
uses: mu-io/setup-buf@v1beta

View File

@ -17,7 +17,7 @@
"fix:prettier": "prettier \"src/**/*.ts\" --write",
"fix:lint": "eslint src --ext .ts --fix",
"pretest": "run-s pretest:*",
"pretest:1-init-git-submodules": "git submodule update --init --recursive",
"pretest:1-init-git-submodules": "[ -f './nim-waku/build/wakunode2' ] || git submodule update --init --recursive",
"pretest:2-build-nim-waku": "cd nim-waku; [ -f './build/wakunode2' ] || make -j$(nproc --all 2>/dev/null || echo 2) wakunode2",
"test": "run-s build test:*",
"test:lint": "eslint src --ext .ts",