mirror of https://github.com/waku-org/js-waku.git
rln shared lib is needed by nim-waku bin
This commit is contained in:
parent
cc84fb1c93
commit
57fa974812
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue